|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractListModel | +--org.argouml.uml.ui.UMLModelElementListModel | +--org.argouml.uml.ui.UMLClientDependencyListModel
UMLModelElementClientDependencyListModel
,
this class is part of the 'old'(pre 0.13.*) implementation of proppanels
that used reflection a lot.
Field Summary |
---|
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel |
---|
_upper, NO_LIMIT |
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
UMLClientDependencyListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
Deprecated. |
Method Summary | |
---|---|
void |
add(int index)
Deprecated. Add a new abstraction relationship. |
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. |
java.lang.Object |
formatElement(MModelElement element)
Deprecated. This method returns a rendering (typically a String) of the model element for the list. |
protected MModelElement |
getModelElementAt(int index)
Deprecated. This method returns the model element that corresponds to to the specific index. |
void |
moveDown(int index)
Deprecated. |
void |
moveUp(int index)
Deprecated. |
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, elementAtUtil, getContainer, getContextNotation, getElementAt, getModelElementSize, getProperty, getSize, getTarget, getUpperBound, listRoleItemSet, moveDownUtil, moveUpUtil, 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 |
Constructor Detail |
public UMLClientDependencyListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
Method Detail |
protected int recalcModelElementSize()
UMLModelElementListModel
recalcModelElementSize
in class UMLModelElementListModel
protected MModelElement getModelElementAt(int index)
UMLModelElementListModel
getModelElementAt
in class UMLModelElementListModel
index
- index of model element (zero based).
public java.lang.Object formatElement(MModelElement element)
UMLModelElementListModel
formatElement
in class UMLModelElementListModel
public void add(int index)
Add a new abstraction relationship.
Current implementation cures an earlier bug, which set both ends of the NSUML object, thereby effectively adding the dependency twice (if you add one end, NSUML does the other for you.
index
- The index of the item in the list on which this add
operation was invoked.public void delete(int index)
UMLModelElementListModel
delete
in class UMLModelElementListModel
index
- public void moveUp(int index)
public void moveDown(int index)
public boolean buildPopup(javax.swing.JPopupMenu popup, int index)
buildPopup
in class UMLModelElementListModel
popup
- popup menuindex
- index of selected list item
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040216) | ArgoUML Project Home | ArgoUML Cookbook |