Package ghidra.framework.plugintool
Class StandAloneApplication
- java.lang.Object
-
- ghidra.framework.plugintool.StandAloneApplication
-
- All Implemented Interfaces:
GenericStandAloneApplication
public abstract class StandAloneApplication extends java.lang.Object implements GenericStandAloneApplication
-
-
Field Summary
Fields Change Modifier and Type Field Description NEW protected DockingApplicationConfigurationconfigurationNEW protected ApplicationLayoutlayoutNEW protected PluginTooltool
-
Constructor Summary
Constructors Change Constructor Description StandAloneApplication(java.lang.String propertiesFilename)Creates a new application using the given properties filename.StandAloneApplication(java.lang.String name, java.lang.String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Change Modifier and Type Method Description NEW protected PluginToolcreateTool()voidexit()ToolServicesgetToolServices()NEW protected voidinitializeTool(StandAlonePluginTool newTool)voidsetHomeCallback(java.lang.Runnable callback)voidsetHomeIcon(javax.swing.ImageIcon icon)voidsetWindowsIcons(java.util.List<java.awt.Image> windowsIcons)voidshowSpashScreen(javax.swing.ImageIcon splashIcon)NEW protected voidshowTool()voidstart()
-
-
-
Field Detail
-
layout NEW
protected ApplicationLayout layout
-
configuration NEW
protected DockingApplicationConfiguration configuration
Constructor Detail
-
StandAloneApplication
public StandAloneApplication(java.lang.String propertiesFilename)
Creates a new application using the given properties filename. The filename is expected reside in the current working directory.The given properties file is expected to have the
ApplicationProperties.APPLICATION_NAME_PROPERTYandApplicationProperties.APPLICATION_VERSION_PROPERTYproperties set.- Parameters:
propertiesFilename- the name of the properties file.
-
StandAloneApplication
public StandAloneApplication(java.lang.String name, java.lang.String version)
-
-
Method Detail
-
showSpashScreen
public void showSpashScreen(javax.swing.ImageIcon splashIcon)
-
setWindowsIcons
public void setWindowsIcons(java.util.List<java.awt.Image> windowsIcons)
-
setHomeIcon
public void setHomeIcon(javax.swing.ImageIcon icon)
-
setHomeCallback
public void setHomeCallback(java.lang.Runnable callback)
-
start
public void start()
-
createTool NEW
protected PluginTool createTool()
-
initializeTool NEW
protected void initializeTool(StandAlonePluginTool newTool)
-
exit
public void exit()
- Specified by:
exitin interfaceGenericStandAloneApplication
-
getToolServices
public ToolServices getToolServices()
- Specified by:
getToolServicesin interfaceGenericStandAloneApplication
-
-