|
|||||||||||
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.UMLModelElementCachedListModel
org.argouml.uml.ui.UMLOwnedElementListModel
org.argouml.uml.ui.UMLClassifiersListModel
This class implements a list model for the subpackages of a package. Used with a UMLList to display a list of attributes. Since packages may be mixed with other model elements, this class implements a cache of packages that are kept synchronized with the owned elements.
UMLModelElementListModel
,
UMLList
,
Serialized FormField Summary |
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel |
_upper, NO_LIMIT |
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
UMLClassifiersListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
Deprecated. Creates a new packages list model |
Method Summary | |
void |
addActor(int index)
Deprecated. |
void |
addClass(int index)
Deprecated. |
void |
addDatatype(int index)
Deprecated. |
void |
addException(int index)
Deprecated. |
void |
addInterface(int index)
Deprecated. |
void |
addSignal(int index)
Deprecated. |
void |
addUseCase(int index)
Deprecated. |
boolean |
buildPopup(javax.swing.JPopupMenu popup,
int index)
Deprecated. This method builds a context (pop-up) menu for the list. |
ru.novosoft.uml.foundation.core.MModelElement |
createModelElement()
Deprecated. |
boolean |
isProperClass(java.lang.Object obj)
Deprecated. Called to determine if a particular feature of the underlying collection should be in the cached list of model elements. |
Methods inherited from class org.argouml.uml.ui.UMLOwnedElementListModel |
add, addElement, delete, getCache, getRawCollection, moveDown, moveUp, resetCache |
Methods inherited from class org.argouml.uml.ui.UMLModelElementCachedListModel |
addElement, buildCache, getModelElementAt, listRoleItemSet, propertySet, recalcModelElementSize, recovered, removed, roleAdded, roleRemoved, swap, targetChanged |
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel |
addAtUtil, addAtUtil, elementAtUtil, formatElement, getContainer, getContextNotation, getElementAt, getModelElementSize, getProperty, getSize, getTarget, getUpperBound, moveDownUtil, moveUpUtil, navigateTo, navigateTo, open, resetSize, setUpperBound, 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 |
public UMLClassifiersListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
container
- the container (typically a PropPanelPackage)
that provides access to the target classifier.property
- a string that specifies the name of an event that should force a refresh
of the list model. A null value will cause all events to trigger a refresh.showNone
- if true, an element labelled "none" will be shown where there are
no actual entries in the list.Method Detail |
public boolean isProperClass(java.lang.Object obj)
isProperClass
in class UMLOwnedElementListModel
obj
- object to be considered.
public boolean buildPopup(javax.swing.JPopupMenu popup, int index)
buildPopup
in class UMLModelElementListModel
popup
- popup menuindex
- index of selected list item
public void addDatatype(int index)
public void addClass(int index)
public void addInterface(int index)
public void addException(int index)
public void addSignal(int index)
public ru.novosoft.uml.foundation.core.MModelElement createModelElement()
public void addActor(int index)
public void addUseCase(int index)
|
|||||||||||
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 |