org.argouml.ui
Class ActionSettings
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.argouml.uml.ui.UMLAction
|
+--org.argouml.ui.ActionSettings
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, ArgoEventListener, ArgoModuleEventListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class ActionSettings
- extends UMLAction
- implements ArgoModuleEventListener
Action object for handling Argo settings
- Since:
- 0.9.4
- See Also:
- Serialized Form
Field Summary |
protected javax.swing.JButton |
buttonApply
|
protected javax.swing.JButton |
buttonCancel
|
protected javax.swing.JButton |
buttonOk
|
protected javax.swing.JDialog |
dlg
|
protected javax.swing.JTabbedPane |
tabs
|
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buttonOk
protected javax.swing.JButton buttonOk
buttonCancel
protected javax.swing.JButton buttonCancel
buttonApply
protected javax.swing.JButton buttonApply
tabs
protected javax.swing.JTabbedPane tabs
dlg
protected javax.swing.JDialog dlg
ActionSettings
protected ActionSettings()
getInstance
public static ActionSettings getInstance()
- Get the instance.
localize
protected java.lang.String localize(java.lang.String key)
- Helper for localization.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Description copied from class:
UMLAction
- Perform the work the action is supposed to do.
- Overrides:
actionPerformed
in class UMLAction
moduleLoaded
public void moduleLoaded(ArgoModuleEvent event)
- Description copied from interface:
ArgoModuleEventListener
- Invoked when a module has been loaded.
- Specified by:
moduleLoaded
in interface ArgoModuleEventListener
moduleUnloaded
public void moduleUnloaded(ArgoModuleEvent event)
- Description copied from interface:
ArgoModuleEventListener
- Invoked when a module has been unloaded.
- Specified by:
moduleUnloaded
in interface ArgoModuleEventListener
moduleEnabled
public void moduleEnabled(ArgoModuleEvent event)
- Description copied from interface:
ArgoModuleEventListener
- Invoked when a module has been enabled.
- Specified by:
moduleEnabled
in interface ArgoModuleEventListener
moduleDisabled
public void moduleDisabled(ArgoModuleEvent event)
- Description copied from interface:
ArgoModuleEventListener
- Invoked when a module has been disabled.
- Specified by:
moduleDisabled
in interface ArgoModuleEventListener