org.argouml.uml.ui
Class UMLTreeModel

java.lang.Object
  extended byjavax.swing.tree.DefaultTreeModel
      extended byorg.argouml.uml.ui.UMLTreeModel
All Implemented Interfaces:
java.util.EventListener, ru.novosoft.uml.MElementListener, java.io.Serializable, javax.swing.tree.TreeModel, UMLUserInterfaceComponent

Deprecated. As of ArgoUml version 0.13.5, This class is not used and probably shouldn't be in the future either.

public class UMLTreeModel
extends javax.swing.tree.DefaultTreeModel
implements UMLUserInterfaceComponent

This class is an abstract superclass for classes that provide a tree model of UML model elements.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
 
Constructor Summary
UMLTreeModel(UMLUserInterfaceContainer container, UMLTreeRootNode root)
          Deprecated. Creates a new tree model
 
Method Summary
 boolean buildPopup(javax.swing.JPopupMenu popup, javax.swing.tree.TreePath path)
          Deprecated.  
 void fireTreeStructureChanged()
          Deprecated.  
 java.lang.Object formatElement(ru.novosoft.uml.foundation.core.MModelElement element)
          Deprecated. This method returns a rendering (typically a String) of the model element for the list.
 void listRoleItemSet(ru.novosoft.uml.MElementEvent mee)
          Deprecated.  
 void navigateTo(ru.novosoft.uml.foundation.core.MModelElement modelElement)
          Deprecated. This method is called by context menu actions that desire to change to currently displayed object.
 void propertySet(ru.novosoft.uml.MElementEvent mee)
          Deprecated.  
 void recovered(ru.novosoft.uml.MElementEvent mee)
          Deprecated.  
 void removed(ru.novosoft.uml.MElementEvent mee)
          Deprecated.  
 void roleAdded(ru.novosoft.uml.MElementEvent mee)
          Deprecated.  
 void roleRemoved(ru.novosoft.uml.MElementEvent mee)
          Deprecated.  
 void targetChanged()
          Deprecated. This method is called when the target of a UMLUserInterfaceContainer has been changed.
 void targetReasserted()
          Deprecated. This method is called when the navigation history has been changed (and navigation buttons may need to be updated).
 
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLTreeModel

public UMLTreeModel(UMLUserInterfaceContainer container,
                    UMLTreeRootNode root)
Deprecated. 
Creates a new tree model

Parameters:
container - the container (typically a PropPanelClass or PropPanelInterface) that provides access to the target classifier.
Method Detail

formatElement

public java.lang.Object formatElement(ru.novosoft.uml.foundation.core.MModelElement element)
Deprecated. 
This method returns a rendering (typically a String) of the model element for the list. Default implementation defers to the current Profile of the container, but this method may be overriden.

Returns:
rendering of the ModelElement

targetChanged

public void targetChanged()
Deprecated. 
Description copied from interface: UMLUserInterfaceComponent
This method is called when the target of a UMLUserInterfaceContainer has been changed.

Specified by:
targetChanged in interface UMLUserInterfaceComponent

targetReasserted

public void targetReasserted()
Deprecated. 
Description copied from interface: UMLUserInterfaceComponent
This method is called when the navigation history has been changed (and navigation buttons may need to be updated). targetChanged implies navigationHistoryChanged, so this method will not be called after a targetChange.

Specified by:
targetReasserted in interface UMLUserInterfaceComponent

fireTreeStructureChanged

public void fireTreeStructureChanged()
Deprecated. 

propertySet

public void propertySet(ru.novosoft.uml.MElementEvent mee)
Deprecated. 
Specified by:
propertySet in interface ru.novosoft.uml.MElementListener

listRoleItemSet

public void listRoleItemSet(ru.novosoft.uml.MElementEvent mee)
Deprecated. 
Specified by:
listRoleItemSet in interface ru.novosoft.uml.MElementListener

recovered

public void recovered(ru.novosoft.uml.MElementEvent mee)
Deprecated. 
Specified by:
recovered in interface ru.novosoft.uml.MElementListener

removed

public void removed(ru.novosoft.uml.MElementEvent mee)
Deprecated. 
Specified by:
removed in interface ru.novosoft.uml.MElementListener

roleAdded

public void roleAdded(ru.novosoft.uml.MElementEvent mee)
Deprecated. 
Specified by:
roleAdded in interface ru.novosoft.uml.MElementListener

roleRemoved

public void roleRemoved(ru.novosoft.uml.MElementEvent mee)
Deprecated. 
Specified by:
roleRemoved in interface ru.novosoft.uml.MElementListener

navigateTo

public void navigateTo(ru.novosoft.uml.foundation.core.MModelElement modelElement)
Deprecated. 
This method is called by context menu actions that desire to change to currently displayed object.

Parameters:
modelElement - model element to display

buildPopup

public boolean buildPopup(javax.swing.JPopupMenu popup,
                          javax.swing.tree.TreePath path)
Deprecated. 


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