public abstract class ASubWindowPlugin extends AActionPlugin
Each concrete subclass must specifiy a public non-argument constructor.
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
ASubWindowPlugin()
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This method must be called in order to close this plug-in with its window
and automatically inform its controller.
|
abstract javax.swing.JFrame |
createFrame(org.pfsw.odem.IExplorationModelObject object)
This method must be implemented to create the whole UI of the new window.
|
void |
dispose()
This method will be called right before the plug-in gets closed.
|
PluginConfiguration |
getConfiguration(java.awt.Frame parent)
Returns the configuration data that might be necessary to execute
the plugin's functionality
|
IIntegrationService |
getIntegrationService()
Returns the integration service that is the interface to the main application.
|
void |
initialize(PluginConfiguration config)
This method will be called right after the plug-in has been created
and connected to the internal structures.
|
void |
setIntegrationService(IIntegrationService newValue)
Do NOT call this method.
|
getDisabledIconFilename, getEnabledIconFilename, getToolTipText
getPluginId, setPluginId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionText
getPluginId, getPluginProvider, getPluginVersion
protected ASubWindowPlugin()
public IIntegrationService getIntegrationService()
public void setIntegrationService(IIntegrationService newValue)
public abstract javax.swing.JFrame createFrame(org.pfsw.odem.IExplorationModelObject object)
object
- The element on which this plug-in was invokedpublic PluginConfiguration getConfiguration(java.awt.Frame parent)
parent
- The parent frame from which the plugin is usedpublic void initialize(PluginConfiguration config)
This is an empty implementation of this method which is convenient for subclasses that don't need an initialization at all.
public void dispose()
This here is an empty implementation of this method which is convenient for subclasses that don't need to dispose anything..
public void close()