org.argouml.uml.ui
Class UMLGeneralizationsListModel
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--org.argouml.uml.ui.UMLModelElementListModel
|
+--org.argouml.uml.ui.UMLModelElementCachedListModel
|
+--org.argouml.uml.ui.UMLOwnedElementListModel
|
+--org.argouml.uml.ui.UMLGeneralizationsListModel
- 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 UMLGeneralizationsListModel
- extends UMLOwnedElementListModel
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.
- See Also:
UMLModelElementListModel
,
UMLList
,
Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Method Summary |
MModelElement |
createModelElement()
Deprecated. |
boolean |
isProperClass(java.lang.Object obj)
Deprecated. Called to determine if a particular feauture of the underlying collection
should be in the cached list of model elements. |
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, buildPopup, elementAtUtil, formatElement, getContainer, getContextNotation, getElementAt, getModelElementSize, getProperty, getSize, getTarget, getUpperBound, moveDownUtil, moveUpUtil, 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 |
UMLGeneralizationsListModel
public UMLGeneralizationsListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
- Deprecated.
- Creates a new packages list model
- Parameters:
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.
isProperClass
public boolean isProperClass(java.lang.Object obj)
- Deprecated.
- Called to determine if a particular feauture of the underlying collection
should be in the cached list of model elements.
- Overrides:
isProperClass
in class UMLOwnedElementListModel
- Parameters:
obj
- object to be considered.
- Returns:
- true if object is appropriate for this list.
createModelElement
public MModelElement createModelElement()
- Deprecated.
- Overrides:
createModelElement
in class UMLOwnedElementListModel