|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUndoableAction
org.argouml.uml.ui.AbstractActionAddModelElement2
org.argouml.uml.ui.behavior.common_behavior.ActionAddInstanceClassifier
public class 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.
| Constructor Summary | |
|---|---|
ActionAddInstanceClassifier()
The constructor for ActionAddExtendExtensionPoint. |
|
ActionAddInstanceClassifier(java.lang.Object choice)
Construct Add Classifier action for an instance. |
|
| Method Summary | |
|---|---|
protected void |
doIt(java.util.Collection selected)
The action that has to be done by ArgoUml after the user clicks ok in the UMLAddDialog. |
protected java.util.List |
getChoices()
Returns the choices the user has in the UMLAddDialog. |
protected java.lang.String |
getDialogTitle()
Returns the title of the dialog. |
protected java.util.List |
getSelected()
The modelelements already selected BEFORE the dialog is shown. |
| Methods inherited from class org.argouml.uml.ui.AbstractActionAddModelElement2 |
|---|
actionPerformed, getTarget, isEnabled, isExclusive, isMultiSelect, setExclusive, setMultiSelect, setTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionAddInstanceClassifier()
public ActionAddInstanceClassifier(java.lang.Object choice)
choice
will be UMLClass instead of Classifier to further restrict the
available choices.
choice - the classifier type we are adding| Method Detail |
|---|
protected void doIt(java.util.Collection selected)
AbstractActionAddModelElement2
doIt in class AbstractActionAddModelElement2selected - The choices the user has selected in the UMLAddDialogprotected java.util.List getChoices()
AbstractActionAddModelElement2
getChoices in class AbstractActionAddModelElement2protected java.lang.String getDialogTitle()
AbstractActionAddModelElement2
getDialogTitle in class AbstractActionAddModelElement2protected java.util.List getSelected()
AbstractActionAddModelElement2
getSelected in class AbstractActionAddModelElement2
|
||||||||||
| 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 |