mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
GP-1981 - Theming - Base Module
This commit is contained in:
@@ -18,11 +18,11 @@ package functioncalls.graph.layout;
|
||||
import javax.swing.Icon;
|
||||
|
||||
import functioncalls.graph.*;
|
||||
import generic.theme.GIcon;
|
||||
import ghidra.graph.viewer.layout.AbstractLayoutProvider;
|
||||
import ghidra.graph.viewer.layout.VisualGraphLayout;
|
||||
import ghidra.util.exception.CancelledException;
|
||||
import ghidra.util.task.TaskMonitor;
|
||||
import resources.ResourceManager;
|
||||
|
||||
/**
|
||||
* A layout provider for the {@link BowTieLayout}
|
||||
@@ -32,7 +32,7 @@ public class BowTieLayoutProvider
|
||||
|
||||
public static final String NAME = "Bow Tie Layout";
|
||||
|
||||
private static final Icon DEFAULT_ICON = ResourceManager.loadImage("images/color_swatch.png");
|
||||
private static final Icon DEFAULT_ICON = new GIcon("icon.fcg.layout.bow.tie");
|
||||
|
||||
@Override
|
||||
public VisualGraphLayout<FcgVertex, FcgEdge> getLayout(FunctionCallGraph graph,
|
||||
|
||||
@@ -146,9 +146,6 @@ public class FunctionCallGraphPlugin extends ProgramPlugin implements OptionsCha
|
||||
}
|
||||
};
|
||||
|
||||
// TODO create icon from scratch: bow-tie
|
||||
// ImageIcon icon = ResourceManager.loadImage("images/applications-development.png");
|
||||
// showProviderAction.setToolBarData(new ToolBarData(icon, "View"));
|
||||
tool.addAction(showProviderAction);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user