From 5d499c990e743d0e1d3c19a31225f9486355e7cd Mon Sep 17 00:00:00 2001 From: dragonmacher <48328597+dragonmacher@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:40:13 -0400 Subject: [PATCH] Added a help entry for an action missing help --- .../main/help/help/topics/DataTypeEditors/EnumEditor.htm | 8 ++++++++ .../plugin/core/datamgr/editor/EnumEditorProvider.java | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm index 43b9ae3d4b..d40b9cf7d5 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm @@ -72,6 +72,14 @@
+ ++++ Changes the Enum value column to show values in hex or decimal. +
+
Create an new enum entry by selecting the diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java index ec4f8ff178..e9e0c6e6bd 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java @@ -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")