mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1981 - Theming - Base Module
This commit is contained in:
parent
dd31ff47a2
commit
0971c0088c
228 changed files with 1848 additions and 1694 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue