mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Fixed bad help links
This commit is contained in:
@@ -41,7 +41,7 @@ public class InterpreterComponentProvider extends ComponentProviderAdapter
|
|||||||
|
|
||||||
public InterpreterComponentProvider(InterpreterPanelPlugin plugin,
|
public InterpreterComponentProvider(InterpreterPanelPlugin plugin,
|
||||||
InterpreterConnection interpreter, boolean visible) {
|
InterpreterConnection interpreter, boolean visible) {
|
||||||
super(plugin.getTool(), interpreter.getTitle(), plugin.getName());
|
super(plugin.getTool(), interpreter.getTitle(), interpreter.getTitle());
|
||||||
|
|
||||||
this.panel = new InterpreterPanel(plugin.getTool(), interpreter);
|
this.panel = new InterpreterPanel(plugin.getTool(), interpreter);
|
||||||
this.interpreter = interpreter;
|
this.interpreter = interpreter;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
|
|||||||
* @param bundleHost the bundle host
|
* @param bundleHost the bundle host
|
||||||
*/
|
*/
|
||||||
public BundleStatusComponentProvider(PluginTool tool, String owner, BundleHost bundleHost) {
|
public BundleStatusComponentProvider(PluginTool tool, String owner, BundleHost bundleHost) {
|
||||||
super(tool, "BundleManager", owner);
|
super(tool, "Bundle Manager", owner);
|
||||||
setHelpLocation(new HelpLocation("BundleManager", "BundleManager"));
|
setHelpLocation(new HelpLocation("BundleManager", "BundleManager"));
|
||||||
setTitle("Bundle Manager");
|
setTitle("Bundle Manager");
|
||||||
|
|
||||||
@@ -140,12 +140,13 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
|
|||||||
.enabled(false)
|
.enabled(false)
|
||||||
.enabledWhen(context -> bundleStatusTable.getSelectedRows().length > 0)
|
.enabledWhen(context -> bundleStatusTable.getSelectedRows().length > 0)
|
||||||
.onAction(context -> runnable.run())
|
.onAction(context -> runnable.run())
|
||||||
|
.helpLocation(new HelpLocation("BundleManager", actionName))
|
||||||
.buildAndInstallLocal(this);
|
.buildAndInstallLocal(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createActions() {
|
private void createActions() {
|
||||||
Icon icon = Icons.REFRESH_ICON;
|
Icon icon = Icons.REFRESH_ICON;
|
||||||
new ActionBuilder("RefreshBundles", getOwner())
|
new ActionBuilder("Refresh Bundles", getOwner())
|
||||||
.popupMenuPath("Refresh all")
|
.popupMenuPath("Refresh all")
|
||||||
.popupMenuIcon(icon)
|
.popupMenuIcon(icon)
|
||||||
.popupMenuGroup(BUNDLE_LIST_GROUP)
|
.popupMenuGroup(BUNDLE_LIST_GROUP)
|
||||||
@@ -153,6 +154,7 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
|
|||||||
.toolBarGroup(BUNDLE_LIST_GROUP)
|
.toolBarGroup(BUNDLE_LIST_GROUP)
|
||||||
.description("Refresh state by cleaning and reactivating all enabled bundles")
|
.description("Refresh state by cleaning and reactivating all enabled bundles")
|
||||||
.onAction(c -> doRefresh())
|
.onAction(c -> doRefresh())
|
||||||
|
.helpLocation(new HelpLocation("BundleManager", "RefreshBundles"))
|
||||||
.buildAndInstallLocal(this);
|
.buildAndInstallLocal(this);
|
||||||
|
|
||||||
addBundlesAction("EnableBundles", "Enable selected bundle(s)",
|
addBundlesAction("EnableBundles", "Enable selected bundle(s)",
|
||||||
@@ -165,7 +167,7 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
|
|||||||
this::doCleanBundleBuildCaches);
|
this::doCleanBundleBuildCaches);
|
||||||
|
|
||||||
icon = Icons.ADD_ICON;
|
icon = Icons.ADD_ICON;
|
||||||
new ActionBuilder("AddBundles", getOwner())
|
new ActionBuilder("Add Bundles", getOwner())
|
||||||
.popupMenuPath("Add bundle(s)")
|
.popupMenuPath("Add bundle(s)")
|
||||||
.popupMenuIcon(icon)
|
.popupMenuIcon(icon)
|
||||||
.popupMenuGroup(BUNDLE_LIST_GROUP)
|
.popupMenuGroup(BUNDLE_LIST_GROUP)
|
||||||
@@ -173,10 +175,11 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
|
|||||||
.toolBarGroup(BUNDLE_LIST_GROUP)
|
.toolBarGroup(BUNDLE_LIST_GROUP)
|
||||||
.description("Display file chooser to add bundles to list")
|
.description("Display file chooser to add bundles to list")
|
||||||
.onAction(c -> showAddBundlesFileChooser())
|
.onAction(c -> showAddBundlesFileChooser())
|
||||||
|
.helpLocation(new HelpLocation("BundleManager", "AddBundles"))
|
||||||
.buildAndInstallLocal(this);
|
.buildAndInstallLocal(this);
|
||||||
|
|
||||||
icon = Icons.DELETE_ICON;
|
icon = Icons.DELETE_ICON;
|
||||||
new ActionBuilder("RemoveBundles", getOwner())
|
new ActionBuilder("Remove Bundles", getOwner())
|
||||||
.popupMenuPath("Remove selected bundle(s)")
|
.popupMenuPath("Remove selected bundle(s)")
|
||||||
.popupMenuIcon(icon)
|
.popupMenuIcon(icon)
|
||||||
.popupMenuGroup(BUNDLE_LIST_GROUP)
|
.popupMenuGroup(BUNDLE_LIST_GROUP)
|
||||||
@@ -185,6 +188,7 @@ public class BundleStatusComponentProvider extends ComponentProviderAdapter {
|
|||||||
.description("Remove selected bundle(s) from the list")
|
.description("Remove selected bundle(s) from the list")
|
||||||
.enabledWhen(c -> bundleStatusTable.getSelectedRows().length > 0)
|
.enabledWhen(c -> bundleStatusTable.getSelectedRows().length > 0)
|
||||||
.onAction(c -> doRemoveBundles())
|
.onAction(c -> doRemoveBundles())
|
||||||
|
.helpLocation(new HelpLocation("BundleManager", "RemoveBundles"))
|
||||||
.buildAndInstallLocal(this);
|
.buildAndInstallLocal(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user