Merge remote-tracking branch 'origin/GP-1-dragonmacher-enum-action-help'

This commit is contained in:
Ryan Kurtz 2024-10-08 06:30:11 -04:00
commit 7f725922bb
2 changed files with 11 additions and 2 deletions

View File

@ -72,6 +72,14 @@
</p>
</blockquote>
</blockquote>
<h2><a name="Toggle_Hex_Mode"></a>Toggle Hex Mode</h2>
<blockquote>
<p>
Changes the Enum value column to show values in hex or decimal.
</p>
</blockquote>
<h2><a name="Add_Enum_Value"></a>Add an Enum Entry</h2>
<blockquote>
<p>Create an new enum entry by selecting the

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -272,6 +272,7 @@ public class EnumEditorProvider extends ComponentProviderAdapter
private void createActions() {
hexDisplayAction = new ToggleActionBuilder("Toggle Hex Mode", plugin.getName())
.helpLocation(new HelpLocation(HELP_TOPIC, "Toggle_Hex_Mode"))
.menuPath("Show Enum Values in Hex")
.description("Toggles Enum value column to show values in hex or decimal")
.keyBinding("Shift-H")