mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
fixed graph window placement issues.
This commit is contained in:
@@ -27,15 +27,22 @@ import ghidra.util.HelpLocation;
|
|||||||
public class DefaultGraphDisplayComponentProvider extends ComponentProviderAdapter {
|
public class DefaultGraphDisplayComponentProvider extends ComponentProviderAdapter {
|
||||||
|
|
||||||
static final String WINDOW_GROUP = "ProgramGraph";
|
static final String WINDOW_GROUP = "ProgramGraph";
|
||||||
|
private static final String WINDOW_MENU_GROUP_NAME = "Graph";
|
||||||
private DefaultGraphDisplay display;
|
private DefaultGraphDisplay display;
|
||||||
|
|
||||||
DefaultGraphDisplayComponentProvider(DefaultGraphDisplay display, PluginTool pluginTool) {
|
DefaultGraphDisplayComponentProvider(DefaultGraphDisplay display, PluginTool pluginTool) {
|
||||||
super(pluginTool, "Graph: " + display.getId(), "DefaultGraphDisplay");
|
super(pluginTool, "Graph", "DefaultGraphDisplay");
|
||||||
this.display = display;
|
this.display = display;
|
||||||
setHelpLocation(new HelpLocation("GraphServices", "Default_Graph_Display"));
|
setHelpLocation(new HelpLocation("GraphServices", "Default_Graph_Display"));
|
||||||
setIcon(DefaultDisplayGraphIcons.PROGRAM_GRAPH_ICON);
|
setIcon(DefaultDisplayGraphIcons.PROGRAM_GRAPH_ICON);
|
||||||
setTransient();
|
setTransient();
|
||||||
setWindowGroup(WINDOW_GROUP);
|
setWindowGroup(WINDOW_GROUP);
|
||||||
|
setSubTitle(Integer.toString(display.getId()));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getWindowSubMenuName() {
|
||||||
|
return WINDOW_MENU_GROUP_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user