|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
org.argouml.uml.ui.UMLModelElementListModel
org.argouml.uml.ui.UMLBinaryRelationListModel
org.argouml.uml.ui.behavior.use_cases.UMLExtendListModel
A list model for the extend relationship on use case and extension point property panels.
Supports the full menu (Open, Add, Delete, Move Up, Move Down). Provides its own formatElement routine, to use the name of the base use case (where the container is a use case) or the extension use case (where the container is an extension point, rather than name of the extend relationship itself.
Field Summary | |
protected static org.apache.log4j.Category |
cat
Deprecated. |
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel |
_upper, NO_LIMIT |
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
UMLExtendListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
Deprecated. Create a new list model. |
Method Summary | |
protected void |
build(ru.novosoft.uml.foundation.core.MModelElement from,
ru.novosoft.uml.foundation.core.MModelElement to)
Deprecated. Builds a relation between two modelelements. |
protected void |
connect(org.tigris.gef.graph.MutableGraphModel gm,
ru.novosoft.uml.foundation.core.MModelElement from,
ru.novosoft.uml.foundation.core.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 ru.novosoft.uml.foundation.core.MModelElement |
getRelation(ru.novosoft.uml.foundation.core.MModelElement from,
ru.novosoft.uml.foundation.core.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 |
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, addAtUtil, elementAtUtil, formatElement, getContainer, getContextNotation, getElementAt, getModelElementSize, getProperty, getSize, getTarget, getUpperBound, listRoleItemSet, moveDownUtil, moveUpUtil, navigateTo, 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 |
Field Detail |
protected static org.apache.log4j.Category cat
Constructor Detail |
public UMLExtendListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
Create a new list model.
Implementation is just an invocation of the parent constructor.
container
- The container for this list - the use case property
panel.property
- The name associated with the NSUML MElementEvent
that we are tracking or
null
if we track them all. We
probably want to just track the "extend" event.showNone
- True if an empty list is represented by the keyword
"none"Method Detail |
protected void build(ru.novosoft.uml.foundation.core.MModelElement from, ru.novosoft.uml.foundation.core.MModelElement to)
UMLBinaryRelationListModel
build
in class UMLBinaryRelationListModel
from
- to
- UMLBinaryRelationListModel.build(MModelElement, MModelElement)
protected void connect(org.tigris.gef.graph.MutableGraphModel gm, ru.novosoft.uml.foundation.core.MModelElement from, ru.novosoft.uml.foundation.core.MModelElement to)
UMLBinaryRelationListModel
connect
in class UMLBinaryRelationListModel
from
- to
- UMLBinaryRelationListModel.connect(MutableGraphModel, MModelElement, MModelElement)
protected java.lang.String getAddDialogTitle()
UMLBinaryRelationListModel
getAddDialogTitle
in class UMLBinaryRelationListModel
UMLBinaryRelationListModel.getAddDialogTitle()
protected java.util.Collection getChoices()
UMLBinaryRelationListModel
getChoices
in class UMLBinaryRelationListModel
UMLBinaryRelationListModel.getChoices()
protected ru.novosoft.uml.foundation.core.MModelElement getRelation(ru.novosoft.uml.foundation.core.MModelElement from, ru.novosoft.uml.foundation.core.MModelElement to)
UMLBinaryRelationListModel
getRelation
in class UMLBinaryRelationListModel
from
- to
-
UMLBinaryRelationListModel.getRelation(MModelElement, MModelElement)
protected java.util.Collection getSelected()
UMLBinaryRelationListModel
getSelected
in class UMLBinaryRelationListModel
UMLBinaryRelationListModel.getSelected()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030829) | ArgoUML Project Home | ArgoUML Cookbook |