org.argouml.uml.ui
Class UMLOperationsListModel
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--org.argouml.uml.ui.UMLModelElementListModel
|
+--org.argouml.uml.ui.UMLModelElementCachedListModel
|
+--org.argouml.uml.ui.UMLOperationsListModel
- All Implemented Interfaces:
- javax.swing.ListModel, NotationContext, java.io.Serializable, UMLUserInterfaceComponent
Deprecated. as of ArgoUml 0.13.5 (10-may-2003),
replaced by UMLClassOperationListModel
,
this class is part of the 'old'(pre 0.13.*) implementation of proppanels
that used reflection a lot.
- public class UMLOperationsListModel
- extends UMLModelElementCachedListModel
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Method Summary |
void |
add(int index)
Deprecated. Adds a new operation, updating both the cache and underlying collection
and navigating to the new operation. |
boolean |
buildPopup(javax.swing.JPopupMenu popup,
int index)
Deprecated. This method builds a context (pop-up) menu for the list. |
void |
delete(int index)
Deprecated. Standard delete method. |
protected java.util.List |
getCache()
Deprecated. |
java.util.Collection |
getRawCollection()
Deprecated. |
boolean |
isProperClass(java.lang.Object obj)
Deprecated. |
void |
moveDown(int index)
Deprecated. |
void |
moveUp(int index)
Deprecated. |
protected void |
resetCache()
Deprecated. |
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, 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 |
UMLOperationsListModel
public UMLOperationsListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
- Deprecated.
resetCache
protected void resetCache()
- Deprecated.
- Specified by:
resetCache
in class UMLModelElementCachedListModel
isProperClass
public boolean isProperClass(java.lang.Object obj)
- Deprecated.
- Specified by:
isProperClass
in class UMLModelElementCachedListModel
getRawCollection
public java.util.Collection getRawCollection()
- Deprecated.
- Overrides:
getRawCollection
in class UMLModelElementCachedListModel
getCache
protected java.util.List getCache()
- Deprecated.
- Specified by:
getCache
in class UMLModelElementCachedListModel
add
public void add(int index)
- Deprecated.
- Adds a new operation, updating both the cache and underlying collection
and navigating to the new operation. Called by "Add" popup menu item.
Calls addElement to do the actual updating of the collection and cache.
Modified: July 19, 2001 - psager
Modified: Dec 06, 2001 - thn
- Parameters:
index
- position of new operation (zero-based) but only refers
to the index position in the particular list box, not the collection.
delete
public void delete(int index)
- Deprecated.
- Description copied from class:
UMLModelElementListModel
- Standard delete method.
- Overrides:
delete
in class UMLModelElementListModel
- Parameters:
index
-
moveUp
public void moveUp(int index)
- Deprecated.
moveDown
public void moveDown(int index)
- Deprecated.
buildPopup
public boolean buildPopup(javax.swing.JPopupMenu popup,
int index)
- Deprecated.
- This method builds a context (pop-up) menu for the list.
- Overrides:
buildPopup
in class UMLModelElementListModel
- Parameters:
popup
- popup menuindex
- index of selected list item
- Returns:
- "true" if popup menu should be displayed