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 Modifier and Type Field Description protected DockingApplicationConfigurationconfigurationprotected ApplicationLayoutlayoutprotected PluginTooltool
-
Constructor Summary
Constructors 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 Modifier and Type Method Description protected PluginToolcreateTool()voidexit()ToolServicesgetToolServices()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)protected voidshowTool()voidstart()
-
-
-
Field Detail
-
layout
protected ApplicationLayout layout
-
configuration
protected DockingApplicationConfiguration configuration
-
tool
protected PluginTool tool
-
-
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()
-
showTool
protected void showTool()
-
createTool
protected PluginTool createTool()
-
initializeTool
protected void initializeTool(StandAlonePluginTool newTool)
-
exit
public void exit()
- Specified by:
exitin interfaceGenericStandAloneApplication
-
getToolServices
public ToolServices getToolServices()
- Specified by:
getToolServicesin interfaceGenericStandAloneApplication
-
-