org.argouml.uml.ui
Class UMLClassifierListModel

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

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Category cat
          Deprecated.  
 
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel
_upper, NO_LIMIT
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLClassifierListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone, java.lang.Class classifierType, java.lang.Class implClass)
          Deprecated.  
 
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.
 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.  
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, 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
 

Field Detail

cat

protected static org.apache.log4j.Category cat
Deprecated. 
Constructor Detail

UMLClassifierListModel

public UMLClassifierListModel(UMLUserInterfaceContainer container,
                              java.lang.String property,
                              boolean showNone,
                              java.lang.Class classifierType,
                              java.lang.Class implClass)
Deprecated. 
Method Detail

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. 

getCache

protected java.util.List getCache()
Deprecated. 
Specified by:
getCache in class UMLModelElementCachedListModel

add

public void add(int index)
Deprecated. 

delete

public void delete(int index)
Deprecated. 
Description copied from class: UMLModelElementListModel
Standard delete method.

Overrides:
delete in class UMLModelElementListModel
Parameters:
index -

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 menu
index - index of selected list item
Returns:
"true" if popup menu should be displayed


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