org.argouml.uml.ui
Class AbstractActionNewModelElement

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.tigris.gef.undo.UndoableAction
          extended byorg.argouml.uml.ui.AbstractActionNewModelElement
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
ActionAddDataType, ActionAddEnumeration, ActionAddLiteral, ActionNewAction, ActionNewActionForMessage, ActionNewActor, ActionNewArgument, ActionNewClass, ActionNewCompositeState, ActionNewEvent, ActionNewExtendExtensionPoint, ActionNewFinalState, ActionNewGuard, ActionNewInnerClass, ActionNewModelElementConstraint, ActionNewParameter, ActionNewPseudoState, ActionNewReception, ActionNewSignal, ActionNewSimpleState, ActionNewStereotype, ActionNewStubState, ActionNewSubmachineState, ActionNewSynchState, ActionNewTransition, ActionNewUseCase, ActionNewUseCaseExtensionPoint

public abstract class AbstractActionNewModelElement
extends org.tigris.gef.undo.UndoableAction

Since:
Oct 3, 2002
See Also:
Serialized Form

Field Summary
 
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.tigris.gef.undo.UndoableAction
actionPerformed
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook