|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.ui.AbstractActionAddModelElement
org.argouml.uml.ui.behavior.common_behavior.ActionAddInstanceClassifier
This action binds Instances to one or more Classifiers, which declare its structure and behaviour. An Object is defined as an instance of a Class, which explains why the type of Classifier is parameter to one of this action's constructors.
| 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 | |
ActionAddInstanceClassifier()
The constructor for ActionAddExtendExtensionPoint. |
|
ActionAddInstanceClassifier(Object choice)
The constructor for ActionAddExtendExtensionPoint. |
|
| Method Summary | |
protected void |
doIt(Vector selected)
The action that has to be done by Argouml after the user clicks ok in the UMLAddDialog. |
protected Vector |
getChoices()
Returns the choices the user has in the UMLAddDialog. |
protected String |
getDialogTitle()
Returns the title of the dialog. |
protected Vector |
getSelected()
The modelelements allready selected BEFORE the dialog is shown. |
| Methods inherited from class org.argouml.uml.ui.AbstractActionAddModelElement |
actionPerformed, getTarget, isEnabled, isExclusive, isMultiSelect, setExclusive, setMultiSelect, setTarget |
| 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 |
| Constructor Detail |
public ActionAddInstanceClassifier()
public ActionAddInstanceClassifier(Object choice)
choice will be "Class", for any other
Instance, it will be "Classifier".
choice - the classifier type we are adding| Method Detail |
protected void doIt(Vector selected)
AbstractActionAddModelElement
doIt in class AbstractActionAddModelElementselected - The choices the user has selected in the UMLAddDialogAbstractActionAddModelElement.doIt(java.util.Vector)protected Vector getChoices()
AbstractActionAddModelElement
getChoices in class AbstractActionAddModelElementAbstractActionAddModelElement.getChoices()protected String getDialogTitle()
AbstractActionAddModelElement
getDialogTitle in class AbstractActionAddModelElementAbstractActionAddModelElement.getDialogTitle()protected Vector getSelected()
AbstractActionAddModelElement
getSelected in class AbstractActionAddModelElementAbstractActionAddModelElement.getSelected()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |