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

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.use_cases.UMLUseCaseAssociationListModel
All Implemented Interfaces:
java.util.EventListener, javax.swing.ListModel, ru.novosoft.uml.MElementListener, NotationContext, java.io.Serializable, UMLUserInterfaceComponent

public class UMLUseCaseAssociationListModel
extends UMLConnectionListModel

Binary relation list model for associations with usecases

See Also:
Serialized Form

Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel
_upper
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLUseCaseAssociationListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
          Constructor for UMLUseCaseAssociationListModel.
 
Method Summary
protected  java.lang.String getAddDialogTitle()
          Returns the title of the add dialog
protected  java.util.Collection getChoices()
          Gets the collection of modelelements a user can select from (left pane in UMLAddDialog)
 
Methods inherited from class org.argouml.uml.ui.UMLConnectionListModel
build, connect, getRelation, getSelected
 
Methods inherited from class org.argouml.uml.ui.UMLBinaryRelationListModel
add, buildPopup, delete, getModelElementAt, getSource, 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, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLUseCaseAssociationListModel

public UMLUseCaseAssociationListModel(UMLUserInterfaceContainer container,
                                      java.lang.String property,
                                      boolean showNone)
Constructor for UMLUseCaseAssociationListModel.
Parameters:
container -  
property -  
showNone -  
Method Detail

getChoices

protected java.util.Collection getChoices()
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()
Description copied from class: UMLBinaryRelationListModel
Returns the title of the add dialog
Overrides:
getAddDialogTitle in class UMLConnectionListModel
See Also:
UMLBinaryRelationListModel.getAddDialogTitle()


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook