mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-10 09:13:58 -09:00
Fixed missing help due to help refactor
This commit is contained in:
@@ -90,7 +90,8 @@ public class ProcessorListPlugin extends Plugin implements ApplicationLevelPlugi
|
||||
processorListAction.setMenuBarData(new MenuData(
|
||||
new String[] { ToolConstants.MENU_HELP, processorListAction.getName() }, null, "AAAZ"));
|
||||
|
||||
processorListAction.setHelpLocation(new HelpLocation(HelpTopics.ABOUT, "ProcessorList"));
|
||||
processorListAction
|
||||
.setHelpLocation(new HelpLocation(HelpTopics.RUNTIME_INFO, "InstalledProcessors"));
|
||||
processorListAction.setDescription(getPluginDescription().getDescription());
|
||||
tool.addAction(processorListAction);
|
||||
}
|
||||
@@ -115,8 +116,8 @@ public class ProcessorListPlugin extends Plugin implements ApplicationLevelPlugi
|
||||
private Set<Processor> getProcessors() {
|
||||
TreeSet<Processor> processors = new TreeSet<>();
|
||||
LanguageService languageService = DefaultLanguageService.getLanguageService();
|
||||
for (LanguageDescription languageDescription : languageService.getLanguageDescriptions(
|
||||
true)) {
|
||||
for (LanguageDescription languageDescription : languageService
|
||||
.getLanguageDescriptions(true)) {
|
||||
processors.add(languageDescription.getProcessor());
|
||||
}
|
||||
return processors;
|
||||
@@ -211,8 +212,8 @@ public class ProcessorListPlugin extends Plugin implements ApplicationLevelPlugi
|
||||
|
||||
TreeSet<Processor> processors = new TreeSet<>();
|
||||
LanguageService languageService = DefaultLanguageService.getLanguageService();
|
||||
for (LanguageDescription languageDescription : languageService.getLanguageDescriptions(
|
||||
true)) {
|
||||
for (LanguageDescription languageDescription : languageService
|
||||
.getLanguageDescriptions(true)) {
|
||||
processors.add(languageDescription.getProcessor());
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ package ghidra.app.util;
|
||||
/**
|
||||
* Topics for Help. The strings correspond to a folder under the "topics"
|
||||
* resource.
|
||||
*
|
||||
*
|
||||
*/
|
||||
public interface HelpTopics {
|
||||
|
||||
@@ -165,7 +165,12 @@ public interface HelpTopics {
|
||||
*/
|
||||
public final static String REPOSITORY = GenericHelpTopics.REPOSITORY;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Help Topic for the Runtime Info Plugin.
|
||||
*/
|
||||
public final static String RUNTIME_INFO = "RuntimeInfoPlugin";
|
||||
|
||||
/**
|
||||
* Help Topic for search functions.
|
||||
*/
|
||||
public final static String SEARCH = "Search";
|
||||
|
||||
Reference in New Issue
Block a user