org.argouml.uml.ui
Class UMLTreeRootNode

java.lang.Object
  extended byorg.argouml.uml.ui.UMLTreeRootNode
All Implemented Interfaces:
java.util.EventListener, ru.novosoft.uml.MElementListener, javax.swing.tree.TreeNode, UMLUserInterfaceComponent
Direct Known Subclasses:
UMLOwnedElementRootNode

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

public abstract class UMLTreeRootNode
extends java.lang.Object
implements javax.swing.tree.TreeNode, UMLUserInterfaceComponent

This class is implements a tree model for ownedElements of a MNamespace


Field Summary
protected  UMLUserInterfaceContainer _container
          Deprecated.  
protected  UMLTreeModel _model
          Deprecated.  
protected  java.lang.String _property
          Deprecated.  
 
Constructor Summary
UMLTreeRootNode(UMLUserInterfaceContainer container, java.lang.String property)
          Deprecated. Creates a new tree model
 
Method Summary
abstract  boolean buildPopup(javax.swing.tree.TreeModel model, javax.swing.JPopupMenu menu, javax.swing.tree.TreePath path)
          Deprecated.  
 boolean getAllowsChildren()
          Deprecated.  
 UMLUserInterfaceContainer getContainer()
          Deprecated.  
 UMLTreeModel getModel()
          Deprecated.  
 javax.swing.tree.TreeNode getParent()
          Deprecated.  
 java.lang.String getProperty()
          Deprecated.  
 boolean isLeaf()
          Deprecated.  
 void setModel(UMLTreeModel model)
          Deprecated.  
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getChildAt, getChildCount, getIndex
 
Methods inherited from interface org.argouml.uml.ui.UMLUserInterfaceComponent
targetChanged
 
Methods inherited from interface ru.novosoft.uml.MElementListener
listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved
 

Field Detail

_container

protected UMLUserInterfaceContainer _container
Deprecated. 

_property

protected java.lang.String _property
Deprecated. 

_model

protected UMLTreeModel _model
Deprecated. 
Constructor Detail

UMLTreeRootNode

public UMLTreeRootNode(UMLUserInterfaceContainer container,
                       java.lang.String property)
Deprecated. 
Creates a new tree model

Parameters:
container - the container (typically a PropPanelClass or PropPanelInterface) that provides access to the target classifier.
property - a string that specifies the name of an event that should force a refresh of the list model. A null value will cause all events to trigger a refresh.
Method Detail

setModel

public void setModel(UMLTreeModel model)
Deprecated. 

getModel

public final UMLTreeModel getModel()
Deprecated. 

getParent

public javax.swing.tree.TreeNode getParent()
Deprecated. 
Specified by:
getParent in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Deprecated. 
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Deprecated. 
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

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

buildPopup

public abstract boolean buildPopup(javax.swing.tree.TreeModel model,
                                   javax.swing.JPopupMenu menu,
                                   javax.swing.tree.TreePath path)
Deprecated. 

getContainer

public final UMLUserInterfaceContainer getContainer()
Deprecated. 

getProperty

public final java.lang.String getProperty()
Deprecated. 


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