org.argouml.uml.ui
Class UMLActivatorListModel
java.lang.Object
javax.swing.AbstractListModel
org.argouml.uml.ui.UMLModelElementListModel
org.argouml.uml.ui.UMLActivatorListModel
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.ListModel, ru.novosoft.uml.MElementListener, 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 UMLActivatorListModel
- extends UMLModelElementListModel
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Method Summary |
void |
add(int index)
Deprecated. |
boolean |
buildPopup(javax.swing.JPopupMenu popup,
int index)
Deprecated. This method builds a context (pop-up) menu for the list. |
protected ru.novosoft.uml.foundation.core.MModelElement |
getModelElementAt(int index)
Deprecated. This method returns the model element that corresponds to
to the specific index. |
protected int |
recalcModelElementSize()
Deprecated. This method is called from getModelElementSize
when the list size has been marked as invalid. |
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel |
addAtUtil, addAtUtil, delete, 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 |
UMLActivatorListModel
public UMLActivatorListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
- Deprecated.
- Constructor for UMLActivatorListModel.
- Parameters:
container
- property
- showNone
-
recalcModelElementSize
protected int recalcModelElementSize()
- Deprecated.
- Description copied from class:
UMLModelElementListModel
- This method is called from getModelElementSize
when the list size has been marked as invalid.
- Specified by:
recalcModelElementSize
in class UMLModelElementListModel
- Returns:
- number of "actual" list entries.
- See Also:
UMLModelElementListModel.recalcModelElementSize()
getModelElementAt
protected ru.novosoft.uml.foundation.core.MModelElement getModelElementAt(int index)
- Deprecated.
- Description copied from class:
UMLModelElementListModel
- This method returns the model element that corresponds to
to the specific index. Called from getElementAt which handles
entries for "none" and formatting of elements.
- Specified by:
getModelElementAt
in class UMLModelElementListModel
- Parameters:
index
- index of model element (zero based).
- Returns:
- corresponding model element
- See Also:
UMLModelElementListModel.getModelElementAt(int)
buildPopup
public boolean buildPopup(javax.swing.JPopupMenu popup,
int index)
- Deprecated.
- Description copied from class:
UMLModelElementListModel
- This method builds a context (pop-up) menu for the list. This method
may be overriden for lists that have additional menu items or when
the default list of actions is inappropriate.
- Overrides:
buildPopup
in class UMLModelElementListModel
- Parameters:
popup
- popup menuindex
- index of selected list item
- Returns:
- "true" if popup menu should be displayed
- See Also:
UMLModelElementListModel.buildPopup(JPopupMenu, int)
add
public void add(int index)
- Deprecated.