org.argouml.uml.ui.behavior.collaborations
Class ActionAddClassifierRoleBase
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.AbstractActionAddModelElement
org.argouml.uml.ui.behavior.collaborations.ActionAddClassifierRoleBase
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionAddClassifierRoleBase
- extends AbstractActionAddModelElement
- Since:
- Oct 3, 2002
- See Also:
- Serialized Form
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. |
SINGLETON
public static final ActionAddClassifierRoleBase SINGLETON
- The one and only instance of this class.
ActionAddClassifierRoleBase
protected ActionAddClassifierRoleBase()
- Constructor for ActionAddClassifierRoleBase.
getChoices
protected Vector getChoices()
- Description copied from class:
AbstractActionAddModelElement
- Returns the choices the user has in the UMLAddDialog. The choices are
depicted on the left side of the UMLAddDialog (sorry Arabic users) and
can be moved via the buttons on the dialog to the right side. On the
right side are the selected modelelements.
- Specified by:
getChoices
in class AbstractActionAddModelElement
- Returns:
- Vector
- See Also:
AbstractActionAddModelElement.getChoices()
getSelected
protected Vector getSelected()
- Description copied from class:
AbstractActionAddModelElement
- The modelelements allready selected BEFORE the dialog is shown.
- Specified by:
getSelected
in class AbstractActionAddModelElement
- Returns:
- Vector
- See Also:
AbstractActionAddModelElement.getSelected()
getDialogTitle
protected String getDialogTitle()
- Description copied from class:
AbstractActionAddModelElement
- Returns the title of the dialog.
- Specified by:
getDialogTitle
in class AbstractActionAddModelElement
- Returns:
- String
- See Also:
AbstractActionAddModelElement.getDialogTitle()
doIt
protected void doIt(Vector selected)
- Description copied from class:
AbstractActionAddModelElement
- The action that has to be done by Argouml after the user clicks ok in the
UMLAddDialog.
- Specified by:
doIt
in class AbstractActionAddModelElement
- Parameters:
selected
- The choices the user has selected in the UMLAddDialog- See Also:
AbstractActionAddModelElement.doIt(java.util.Vector)