org.argouml.uml.ui.behavior.use_cases
Class UMLExtendedUseCasesListModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--org.argouml.uml.ui.UMLModelElementListModel
              |
              +--org.argouml.uml.ui.UMLBinaryRelationListModel
                    |
                    +--org.argouml.uml.ui.behavior.use_cases.UMLExtendedUseCasesListModel
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 UMLExtendedUseCasesListModel
extends UMLBinaryRelationListModel

Since:
Sep 30, 2002
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel
_upper, NO_LIMIT
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLExtendedUseCasesListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
          Deprecated. Constructor for UMLExtendedUseCasesListModel.
 
Method Summary
protected  void build(MModelElement from, MModelElement to)
          Deprecated. Builds a relation between two modelelements.
protected  void connect(MutableGraphModel gm, MModelElement from, MModelElement 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  MModelElement getRelation(MModelElement from, MModelElement to)
          Deprecated. Gets the relation between two modelelements.
protected  java.util.Collection getSelected()
          Deprecated. Gets the collection of modelelements that are allready selected before the add method is called
protected  MModelElement getSource()
          Deprecated.  The source of the relation to be layed out.
 
Methods inherited from class org.argouml.uml.ui.UMLBinaryRelationListModel
add, buildPopup, delete, getModelElementAt, recalcModelElementSize
 
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
 

Constructor Detail

UMLExtendedUseCasesListModel

public UMLExtendedUseCasesListModel(UMLUserInterfaceContainer container,
                                    java.lang.String property,
                                    boolean showNone)
Deprecated. 
Constructor for UMLExtendedUseCasesListModel.

Parameters:
container -
property -
showNone -
Method Detail

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)

Specified by:
getChoices in class UMLBinaryRelationListModel
Returns:
Collection
See Also:
UMLBinaryRelationListModel.getChoices()

getSelected

protected java.util.Collection getSelected()
Deprecated. 
Description copied from class: UMLBinaryRelationListModel
Gets the collection of modelelements that are allready selected before the add method is called

Specified by:
getSelected in class UMLBinaryRelationListModel
Returns:
Collection
See Also:
UMLBinaryRelationListModel.getSelected()

getAddDialogTitle

protected java.lang.String getAddDialogTitle()
Deprecated. 
Description copied from class: UMLBinaryRelationListModel
Returns the title of the add dialog

Specified by:
getAddDialogTitle in class UMLBinaryRelationListModel
Returns:
String
See Also:
UMLBinaryRelationListModel.getAddDialogTitle()

connect

protected void connect(MutableGraphModel gm,
                       MModelElement from,
                       MModelElement 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.

Specified by:
connect in class UMLBinaryRelationListModel
Parameters:
from -
to -
See Also:
UMLBinaryRelationListModel.connect(MutableGraphModel, MModelElement, MModelElement)

build

protected void build(MModelElement from,
                     MModelElement 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.

Specified by:
build in class UMLBinaryRelationListModel
Parameters:
from -
to -
See Also:
UMLBinaryRelationListModel.build(MModelElement, MModelElement)

getRelation

protected MModelElement getRelation(MModelElement from,
                                    MModelElement 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

Specified by:
getRelation in class UMLBinaryRelationListModel
Parameters:
from -
to -
Returns:
MModelElement
See Also:
UMLBinaryRelationListModel.getRelation(MModelElement, MModelElement)

getSource

protected MModelElement getSource()
Deprecated. 
Description copied from class: UMLBinaryRelationListModel

The source of the relation to be layed out. For example, in an association this is one of the classifiers to be connected. Normally users of this class do not have to override this. Only when the target of the container is different then the source of the relation, this must be overriden.

Overrides:
getSource in class UMLBinaryRelationListModel
Returns:
MModelElement
See Also:
UMLBinaryRelationListModel.getSource()


ArgoUML © 1996-2003 (20040216)ArgoUML Project HomeArgoUML Cookbook