org.argouml.uml.ui.behavior.collaborations
Class UMLClassifierRoleAssociationRoleListModel
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--org.argouml.uml.ui.UMLModelElementListModel
|
+--org.argouml.uml.ui.UMLBinaryRelationListModel
|
+--org.argouml.uml.ui.UMLConnectionListModel
|
+--org.argouml.uml.ui.behavior.collaborations.UMLClassifierRoleAssociationRoleListModel
- All Implemented Interfaces:
- javax.swing.ListModel, NotationContext, java.io.Serializable, UMLUserInterfaceComponent
Deprecated. as of ArgoUml 0.13.5 (10-may-2003), replaced by ?, this
class is part of the 'old'(pre 0.13.*) implementation of proppanels
that used reflection a lot.
- public class UMLClassifierRoleAssociationRoleListModel
- extends UMLConnectionListModel
Binary relation list model for associationsroles between classifierroles
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Method Summary |
protected void |
build(java.lang.Object from,
java.lang.Object to)
Deprecated. Builds a relation between two modelelements. |
protected void |
connect(MutableGraphModel gm,
java.lang.Object from,
java.lang.Object to)
Deprecated. Connects two modelelements. |
protected java.lang.String |
getAddDialogTitle()
Deprecated. Returns the title of the add dialog |
protected java.util.Collection |
getChoices()
Deprecated. Gets the collection of modelelements a user can select from (left pane
in UMLAddDialog) |
protected java.lang.Object |
getRelation(java.lang.Object from,
java.lang.Object to)
Deprecated. Gets the relation between two modelelements. |
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel |
addAtUtil, elementAtUtil, formatElement, getContainer, getContextNotation, getElementAt, getModelElementSize, getProperty, getSize, getTarget, getUpperBound, listRoleItemSet, moveDownUtil, moveUpUtil, navigateTo, open, propertySet, recovered, removed, resetSize, roleAdded, roleRemoved, setUpperBound, targetChanged, targetReasserted |
Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UMLClassifierRoleAssociationRoleListModel
public UMLClassifierRoleAssociationRoleListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
- Deprecated.
- Constructor for UMLClassifierRoleAssociationRoleListModel.
- Parameters:
container
- property
- showNone
-
getChoices
protected java.util.Collection getChoices()
- Deprecated.
- Description copied from class:
UMLBinaryRelationListModel
- Gets the collection of modelelements a user can select from (left pane
in UMLAddDialog)
- Overrides:
getChoices
in class UMLConnectionListModel
- See Also:
UMLBinaryRelationListModel.getChoices()
getAddDialogTitle
protected java.lang.String getAddDialogTitle()
- Deprecated.
- Description copied from class:
UMLBinaryRelationListModel
- Returns the title of the add dialog
- Overrides:
getAddDialogTitle
in class UMLConnectionListModel
- See Also:
UMLBinaryRelationListModel.getAddDialogTitle()
connect
protected void connect(MutableGraphModel gm,
java.lang.Object from,
java.lang.Object to)
- Deprecated.
- Description copied from class:
UMLBinaryRelationListModel
- Connects two modelelements. The only implementation of this class could be
something simple as gm.connect(from, to). This method is only abstract since
in some cases gm.connect(to, from) may be necessary.
- Overrides:
connect
in class UMLConnectionListModel
- See Also:
UMLBinaryRelationListModel.connect(MutableGraphModel,
Object, Object)
build
protected void build(java.lang.Object from,
java.lang.Object to)
- Deprecated.
- Description copied from class:
UMLBinaryRelationListModel
- Builds a relation between two modelelements. A relation is for example
an association or a generalization relationship. Only builds the modelelement,
not the graphics.
- Overrides:
build
in class UMLConnectionListModel
- See Also:
UMLBinaryRelationListModel.build(Object,Object)
getRelation
protected java.lang.Object getRelation(java.lang.Object from,
java.lang.Object to)
- Deprecated.
- Description copied from class:
UMLBinaryRelationListModel
- Gets the relation between two modelelements. Implementations should
delegate to utility methods provided in the helpers like CoreHelper
- Overrides:
getRelation
in class UMLConnectionListModel
- See Also:
UMLBinaryRelationListModel.getRelation(Object,Object)