|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.ActionSettings
Action for starting the Argo settings window.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private JButton |
applyButton
|
private ArgoDialog |
dialog
|
private static Logger |
LOG
Logger. |
private static ActionSettings |
SINGLETON
Deprecated. by Linus Tolke as of 0.17.1. Create your own instance of this action. |
private JTabbedPane |
tabs
|
Fields inherited from class org.argouml.uml.ui.UMLAction |
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 | |
ActionSettings()
Constructor. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
Perform the work the action is supposed to do. |
static ActionSettings |
getInstance()
Deprecated. by Linus Tolke as of 0.17.1. Create your own instance of this action. |
private void |
handleCancel()
Called when the user has pressed Cancel. |
private void |
handleRefresh()
Called when the user has pressed Refresh. |
private void |
handleSave()
Called when the user has pressed Save. |
private String |
localize(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, getValue, isEnabled, putValue, shouldBeEnabled, updateEnabled, updateEnabled |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Logger LOG
private static final ActionSettings SINGLETON
private JButton applyButton
private JTabbedPane tabs
private ArgoDialog dialog
Constructor Detail |
public ActionSettings()
Method Detail |
public static ActionSettings getInstance()
private String localize(String key)
key
- The key to localize.
public void actionPerformed(ActionEvent event)
UMLAction
actionPerformed
in interface ActionListener
actionPerformed
in class UMLAction
ActionListener.actionPerformed(
java.awt.event.ActionEvent)
public void moduleLoaded(ArgoModuleEvent event)
ArgoModuleEventListener
moduleLoaded
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleLoaded(org.argouml.application.events.ArgoModuleEvent)
public void moduleUnloaded(ArgoModuleEvent event)
ArgoModuleEventListener
moduleUnloaded
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleUnloaded(org.argouml.application.events.ArgoModuleEvent)
public void moduleEnabled(ArgoModuleEvent event)
ArgoModuleEventListener
moduleEnabled
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleEnabled(org.argouml.application.events.ArgoModuleEvent)
public void moduleDisabled(ArgoModuleEvent event)
ArgoModuleEventListener
moduleDisabled
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleDisabled(org.argouml.application.events.ArgoModuleEvent)
private void handleSave()
private void handleCancel()
private void handleRefresh()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |