org.argouml.uml.ui
Class UMLAttributesClassifierRoleListModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byorg.argouml.uml.ui.UMLModelElementListModel
          extended byorg.argouml.uml.ui.UMLModelElementCachedListModel
              extended byorg.argouml.uml.ui.UMLAttributesListModel
                  extended byorg.argouml.uml.ui.UMLAttributesClassifierRoleListModel
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 UMLAttributesClassifierRoleListModel
extends UMLAttributesListModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel
_upper, NO_LIMIT
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLAttributesClassifierRoleListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
          Deprecated. Constructor for UMLAttributesClassifierRoleListModel.
 
Method Summary
 void add(int index)
          Deprecated. Adds a new attribute, updating both the cache and underlying collection and navigating to new attribute.
 boolean buildPopup(javax.swing.JPopupMenu popup, int index)
          Deprecated. This method builds a context (pop-up) menu for the list.
protected  java.util.List getChoices()
          Deprecated.  
 
Methods inherited from class org.argouml.uml.ui.UMLAttributesListModel
delete, getCache, getRawCollection, isProperClass, 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

UMLAttributesClassifierRoleListModel

public UMLAttributesClassifierRoleListModel(UMLUserInterfaceContainer container,
                                            java.lang.String property,
                                            boolean showNone)
Deprecated. 
Constructor for UMLAttributesClassifierRoleListModel.

Parameters:
container -
property -
showNone -
Method Detail

add

public void add(int index)
Deprecated. 
Description copied from class: UMLAttributesListModel
Adds a new attribute, updating both the cache and underlying collection and navigating to new attribute. Called by "Add" popup menu item.

Overrides:
add in class UMLAttributesListModel
Parameters:
index - position of new attribute (zero-based) but only refers to the index position in the particular list box, not the collection.
See Also:
UMLAttributesListModel.add(int)

buildPopup

public boolean buildPopup(javax.swing.JPopupMenu popup,
                          int index)
Deprecated. 
Description copied from class: UMLAttributesListModel
This method builds a context (pop-up) menu for the list.

Overrides:
buildPopup in class UMLAttributesListModel
Parameters:
popup - popup menu
index - index of selected list item
Returns:
"true" if popup menu should be displayed
See Also:
UMLModelElementListModel.buildPopup(JPopupMenu, int)

getChoices

protected java.util.List getChoices()
Deprecated. 


ArgoUML © 1996-2003 (20030829)ArgoUML Project HomeArgoUML Cookbook