Skip to content

Commit 1b27a76

Browse files
committed
Merge remote-tracking branch 'origin/GP-0-dragonmacher-help-fixes-12-27-24'
2 parents 59ef363 + a57b481 commit 1b27a76

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/interpreter/InterpreterComponentProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class InterpreterComponentProvider extends ComponentProviderAdapter
4141

4242
public InterpreterComponentProvider(InterpreterPanelPlugin plugin,
4343
InterpreterConnection interpreter, boolean visible) {
44-
super(plugin.getTool(), interpreter.getTitle(), plugin.getName());
44+
super(plugin.getTool(), interpreter.getTitle(), interpreter.getTitle());
4545

4646
this.panel = new InterpreterPanel(plugin.getTool(), interpreter);
4747
this.interpreter = interpreter;

Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleStatusComponentProvider.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
7373
* @param bundleHost the bundle host
7474
*/
7575
public BundleStatusComponentProvider(PluginTool tool, String owner, BundleHost bundleHost) {
76-
super(tool, "BundleManager", owner);
76+
super(tool, "Bundle Manager", owner);
7777
setHelpLocation(new HelpLocation("BundleManager", "BundleManager"));
7878
setTitle("Bundle Manager");
7979

@@ -140,19 +140,21 @@ private void addBundlesAction(String actionName, String description, Icon icon,
140140
.enabled(false)
141141
.enabledWhen(context -> bundleStatusTable.getSelectedRows().length > 0)
142142
.onAction(context -> runnable.run())
143+
.helpLocation(new HelpLocation("BundleManager", actionName))
143144
.buildAndInstallLocal(this);
144145
}
145146

146147
private void createActions() {
147148
Icon icon = Icons.REFRESH_ICON;
148-
new ActionBuilder("RefreshBundles", getOwner())
149+
new ActionBuilder("Refresh Bundles", getOwner())
149150
.popupMenuPath("Refresh all")
150151
.popupMenuIcon(icon)
151152
.popupMenuGroup(BUNDLE_LIST_GROUP)
152153
.toolBarIcon(icon)
153154
.toolBarGroup(BUNDLE_LIST_GROUP)
154155
.description("Refresh state by cleaning and reactivating all enabled bundles")
155156
.onAction(c -> doRefresh())
157+
.helpLocation(new HelpLocation("BundleManager", "RefreshBundles"))
156158
.buildAndInstallLocal(this);
157159

158160
addBundlesAction("EnableBundles", "Enable selected bundle(s)",
@@ -165,18 +167,19 @@ private void createActions() {
165167
this::doCleanBundleBuildCaches);
166168

167169
icon = Icons.ADD_ICON;
168-
new ActionBuilder("AddBundles", getOwner())
170+
new ActionBuilder("Add Bundles", getOwner())
169171
.popupMenuPath("Add bundle(s)")
170172
.popupMenuIcon(icon)
171173
.popupMenuGroup(BUNDLE_LIST_GROUP)
172174
.toolBarIcon(icon)
173175
.toolBarGroup(BUNDLE_LIST_GROUP)
174176
.description("Display file chooser to add bundles to list")
175177
.onAction(c -> showAddBundlesFileChooser())
178+
.helpLocation(new HelpLocation("BundleManager", "AddBundles"))
176179
.buildAndInstallLocal(this);
177180

178181
icon = Icons.DELETE_ICON;
179-
new ActionBuilder("RemoveBundles", getOwner())
182+
new ActionBuilder("Remove Bundles", getOwner())
180183
.popupMenuPath("Remove selected bundle(s)")
181184
.popupMenuIcon(icon)
182185
.popupMenuGroup(BUNDLE_LIST_GROUP)
@@ -185,6 +188,7 @@ private void createActions() {
185188
.description("Remove selected bundle(s) from the list")
186189
.enabledWhen(c -> bundleStatusTable.getSelectedRows().length > 0)
187190
.onAction(c -> doRemoveBundles())
191+
.helpLocation(new HelpLocation("BundleManager", "RemoveBundles"))
188192
.buildAndInstallLocal(this);
189193
}
190194

0 commit comments

Comments
 (0)