org.argouml.uml.ui
Class AbstractActionNewModelElement

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.argouml.uml.ui.UMLAction
          extended byorg.argouml.uml.ui.AbstractActionNewModelElement
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
ActionAddDataType, ActionAddPackage, ActionAddParameter, ActionNewAction, ActionNewActionForMessage, ActionNewActor, ActionNewClass, ActionNewCompositeState, ActionNewEvent, ActionNewExtendExtensionPoint, ActionNewFinalState, ActionNewGuard, ActionNewInnerClass, ActionNewInterface, ActionNewModelElementConstraint, ActionNewParameter, ActionNewPseudoState, ActionNewReception, ActionNewSimpleState, ActionNewStereotype, ActionNewStubState, ActionNewSubmachineState, ActionNewSynchState, ActionNewTransition, ActionNewUseCaseExtensionPoint, PropPanelDataType.ActionAddAttributeToDataType, PropPanelDataType.ActionAddQueryOperation, PropPanelExtend.ActionNewExtensionPoint, PropPanelExtensionPoint.ActionNewExtensionPoint, PropPanelMessage.ActionToolNewAction, PropPanelOperation.ActionNewRaisedSignal, PropPanelSignal.ActionNewSignal, PropPanelSubsystem.ActionNewOperation, PropPanelUseCase.ActionNewExtensionPoint, PropPanelUseCase.ActionNewUseCase

public abstract class AbstractActionNewModelElement
extends UMLAction

Since:
Oct 3, 2002
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  Object target
           
 
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
protected AbstractActionNewModelElement()
          The constructor.
protected AbstractActionNewModelElement(String name)
          The constructor.
 
Method Summary
 Object getTarget()
          Returns the target.
 void setTarget(Object theTarget)
          Sets the target.
 
Methods inherited from class org.argouml.uml.ui.UMLAction
actionPerformed, 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

target

private Object target
Constructor Detail

AbstractActionNewModelElement

protected AbstractActionNewModelElement()
The constructor. Defaults to name "action.new", global and NO_ICON


AbstractActionNewModelElement

protected AbstractActionNewModelElement(String name)
The constructor.

Parameters:
name - the to be localized name of the action
Method Detail

getTarget

public Object getTarget()
Returns the target.

Returns:
MModelElement

setTarget

public void setTarget(Object theTarget)
Sets the target.

Parameters:
theTarget - The target to set


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook