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  ArgoDialog dlg
           
protected  javax.swing.JTabbedPane tabs
           
 
Fields inherited from class org.argouml.uml.ui.UMLAction
cat, HAS_ICON, NO_ICON
 
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
 
Constructor Summary
protected ActionSettings()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Perform the work the action is supposed to do.
static ActionSettings getInstance()
          Get the instance.
protected  java.lang.String localize(java.lang.String key)
          Helper for localization.
 void moduleDisabled(ArgoModuleEvent event)
          Invoked when a module has been disabled.
 void moduleEnabled(ArgoModuleEvent event)
          Invoked when a module has been enabled.
 void moduleLoaded(ArgoModuleEvent event)
          Invoked when a module has been loaded.
 void moduleUnloaded(ArgoModuleEvent event)
          Invoked when a module has been unloaded.
 
Methods inherited from class org.argouml.uml.ui.UMLAction
getMnemonic, getShortcut, isEnabled, markNeedsSave, shouldBeEnabled, stripJunk, updateEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buttonApply

protected javax.swing.JButton buttonApply

tabs

protected javax.swing.JTabbedPane tabs

dlg

protected ArgoDialog dlg
Constructor Detail

ActionSettings

protected ActionSettings()
Method Detail

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.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
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


ArgoUML © 1996-2003 (20030919)ArgoUML Project HomeArgoUML Cookbook