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 DockingApplicationConfiguration
configuration
protected ApplicationLayout
layout
protected PluginTool
tool
-
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 PluginTool
createTool()
void
exit()
ToolServices
getToolServices()
protected void
initializeTool(StandAlonePluginTool newTool)
void
setHomeCallback(java.lang.Runnable callback)
void
setHomeIcon(javax.swing.ImageIcon icon)
void
setWindowsIcons(java.util.List<java.awt.Image> windowsIcons)
void
showSpashScreen(javax.swing.ImageIcon splashIcon)
protected void
showTool()
void
start()
-
-
-
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_PROPERTY
andApplicationProperties.APPLICATION_VERSION_PROPERTY
properties 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:
exit
in interfaceGenericStandAloneApplication
-
getToolServices
public ToolServices getToolServices()
- Specified by:
getToolServices
in interfaceGenericStandAloneApplication
-
-