public abstract class AbstractSwingMDIPlugin extends AbstractMDIPlugin<javax.swing.JComponent> implements SwingMDIPlugin
appli, commandLineHandler
Constructor and Description |
---|
AbstractSwingMDIPlugin() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDynamicMenuElements(java.lang.String menuKey,
FileProperties<javax.swing.JComponent> prop)
This method is responsible for retrieving all the dynamic GUI interfaces of the plugin that must be integrated in the general
application interface.
|
java.lang.Object |
getDynamicMenuElements(java.lang.String menuKey,
SwingFileProperties prop)
This method is responsible for retrieving all the dynamic GUI interfaces of the plugin that must be integrated in the general
application interface.
|
void |
initializeUI(boolean wait)
Initialize the Swing UI of the Plugin, taking care of doing the initialization in the EDT.
|
protected void |
initializeUIImpl()
Initialize the UI content of the Swing Plugin.
|
getStaticMenuElements, isCompatibleWith
getCommandLineHandler, getContextClassLoader, getPluginDesc, init, register, setCommandLineHandler, setupPluginDesc
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateUI
getStaticMenuElements, initAfterGUI, isCompatibleWith, updateMenus
dispose, executeCustomAction, getDefaultPluginProperty, getPluginBuildDate, getPluginConfiguration, getPluginDesc, getPluginDescription, getPluginName, getPluginProperty, getPluginVersion, getProperty, getPropertyType, hasProperty, init, loadResources, modifySettings, register, resetSettings, setProperty, supportCustomAction
getCommandLineConfiguration, getCommandLineHandler, handleCommandLineArguments, handleCommandLineArguments, handleCommandLineException, setCommandLineHandler
public final void initializeUI(boolean wait)
initializeUI
in interface MDIPlugin<javax.swing.JComponent>
wait
- true if the initialisation must be blockingpublic java.lang.Object getDynamicMenuElements(java.lang.String menuKey, FileProperties<javax.swing.JComponent> prop)
getDynamicMenuElements(java.lang.String, org.mdi.bootstrap.swing.SwingFileProperties)
by default.getDynamicMenuElements
in interface MDIPlugin<javax.swing.JComponent>
getDynamicMenuElements
in class AbstractMDIPlugin<javax.swing.JComponent>
menuKey
- the menu keyprop
- the properties of the panelpublic java.lang.Object getDynamicMenuElements(java.lang.String menuKey, SwingFileProperties prop)
JMenuItem
JMenu
JButton
AbstractAction
List
containing any number of the above elementsmenuKey
- the menu keyprop
- the properties of the panelprotected void initializeUIImpl() throws java.lang.Exception
initializeUI(boolean)
and as such does not need to be protected to be executed in the EDT. Do nothing by default.initializeUIImpl
in class AbstractMDIPlugin<javax.swing.JComponent>
java.lang.Exception
- if an Exception is encountered during the initialization