Skip to content

Ghidra is a software reverse engineering (SRE) framework

Merge remote-tracking branch 'origin/patch'

Ryan Kurtz58ab01676736
diff --cc Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/graph/GraphDisplayBrokerPlugin.java
index 0a65a0f828,b5ae98fe20..d7922ee835
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/graph/GraphDisplayBrokerPlugin.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/graph/GraphDisplayBrokerPlugin.java
@@@ -148,11 -148,10 +148,10 @@@ public class GraphDisplayBrokerPlugin e
}
@Override
- public GraphDisplay getDefaultGraphDisplay(boolean reuseGraph, Map<String, String> properties,
- TaskMonitor monitor) throws GraphException {
+ public GraphDisplay getDefaultGraphDisplay(boolean reuseGraph, TaskMonitor monitor)
+ throws GraphException {
-
if (defaultGraphDisplayProvider != null) {
- return defaultGraphDisplayProvider.getGraphDisplay(reuseGraph, properties, monitor);
+ return defaultGraphDisplayProvider.getGraphDisplay(reuseGraph, monitor);
}
return null;
}
diff --cc Ghidra/Features/ProgramGraph/src/main/java/ghidra/graph/program/ProgramGraphPlugin.java
index 0961c2ad93,a285abfe25..1a9a0b92ad
--- a/Ghidra/Features/ProgramGraph/src/main/java/ghidra/graph/program/ProgramGraphPlugin.java
+++ b/Ghidra/Features/ProgramGraph/src/main/java/ghidra/graph/program/ProgramGraphPlugin.java
@@@ -71,19 -70,12 +71,19 @@@ import ghidra.util.task.TaskLauncher
//@formatter:on
public class ProgramGraphPlugin extends ProgramPlugin
implements OptionsChangeListener, BlockModelServiceListener, GraphDisplayBrokerListener {
- private static final String MAX_CODE_LINES_DISPLAYED = "Max Code Lines Displayed";
- private static final String REUSE_GRAPH = "Reuse Graph";
- private static final String GRAPH_ENTRY_POINT_NEXUS = "Graph Entry Point Nexus";
- private static final String FORCE_LOCATION_DISPLAY_OPTION = "Force Location Visible on Graph";
- private static final String MAX_DEPTH_OPTION = "Max Reference Depth";
+
+ private static final String PLUGIN_NAME = "Program Graph";
+
+ private static final String OPTIONS_PREFIX = PLUGIN_NAME + Options.DELIMITER;
+ private static final String MAX_CODE_LINES_DISPLAYED =
+ OPTIONS_PREFIX + "Max Code Lines Displayed";
+ private static final String REUSE_GRAPH = OPTIONS_PREFIX + "Reuse Graph";
+ private static final String GRAPH_ENTRY_POINT_NEXUS =
+ OPTIONS_PREFIX + "Graph Entry Point Nexus";
+ private static final String FORCE_LOCATION_DISPLAY_OPTION =
+ OPTIONS_PREFIX + "Force Location Visible on Graph";
+ private static final String MAX_DEPTH_OPTION = OPTIONS_PREFIX + "Max Reference Depth";
- public static final String MENU_GRAPH = "&Graph";
+ public static final String MENU_GRAPH = ToolConstants.MENU_GRAPH;
private BlockModelService blockModelService;