Skip to content

Commit 07fbf77

Browse files
committed
Fixed missing help due to help refactor
1 parent afbe571 commit 07fbf77

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/help/ProcessorListPlugin.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ public void actionPerformed(ActionContext context) {
9090
processorListAction.setMenuBarData(new MenuData(
9191
new String[] { ToolConstants.MENU_HELP, processorListAction.getName() }, null, "AAAZ"));
9292

93-
processorListAction.setHelpLocation(new HelpLocation(HelpTopics.ABOUT, "ProcessorList"));
93+
processorListAction
94+
.setHelpLocation(new HelpLocation(HelpTopics.RUNTIME_INFO, "InstalledProcessors"));
9495
processorListAction.setDescription(getPluginDescription().getDescription());
9596
tool.addAction(processorListAction);
9697
}
@@ -115,8 +116,8 @@ private void copy(boolean asHtml) {
115116
private Set<Processor> getProcessors() {
116117
TreeSet<Processor> processors = new TreeSet<>();
117118
LanguageService languageService = DefaultLanguageService.getLanguageService();
118-
for (LanguageDescription languageDescription : languageService.getLanguageDescriptions(
119-
true)) {
119+
for (LanguageDescription languageDescription : languageService
120+
.getLanguageDescriptions(true)) {
120121
processors.add(languageDescription.getProcessor());
121122
}
122123
return processors;
@@ -211,8 +212,8 @@ private void buildTable() {
211212

212213
TreeSet<Processor> processors = new TreeSet<>();
213214
LanguageService languageService = DefaultLanguageService.getLanguageService();
214-
for (LanguageDescription languageDescription : languageService.getLanguageDescriptions(
215-
true)) {
215+
for (LanguageDescription languageDescription : languageService
216+
.getLanguageDescriptions(true)) {
216217
processors.add(languageDescription.getProcessor());
217218
}
218219

Ghidra/Features/Base/src/main/java/ghidra/app/util/HelpTopics.java

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* Topics for Help. The strings correspond to a folder under the "topics"
2020
* resource.
21-
*
21+
*
2222
*/
2323
public interface HelpTopics {
2424

@@ -165,7 +165,12 @@ public interface HelpTopics {
165165
*/
166166
public final static String REPOSITORY = GenericHelpTopics.REPOSITORY;
167167

168-
/**
168+
/**
169+
* Help Topic for the Runtime Info Plugin.
170+
*/
171+
public final static String RUNTIME_INFO = "RuntimeInfoPlugin";
172+
173+
/**
169174
* Help Topic for search functions.
170175
*/
171176
public final static String SEARCH = "Search";

0 commit comments

Comments
 (0)