org.argouml.uml.ui
Class UMLOwnedElementRootNode

java.lang.Object
  |
  +--org.argouml.uml.ui.UMLTreeRootNode
        |
        +--org.argouml.uml.ui.UMLOwnedElementRootNode
All Implemented Interfaces:
javax.swing.tree.TreeNode, UMLUserInterfaceComponent

Deprecated. as of ArgoUml 0.13.5 (10-may-2003), replaced by nothing, this class is part of the 'old'(pre 0.13.*) implementation of proppanels that used reflection a lot.

public class UMLOwnedElementRootNode
extends UMLTreeRootNode

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


Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLTreeRootNode
_container, _model, _property
 
Constructor Summary
UMLOwnedElementRootNode(UMLUserInterfaceContainer container, java.lang.String property, boolean forClass)
          Deprecated. Creates a new tree model
 
Method Summary
 boolean buildPopup(javax.swing.tree.TreeModel model, javax.swing.JPopupMenu menu, javax.swing.tree.TreePath path)
          Deprecated.  
 java.util.Enumeration children()
          Deprecated.  
 javax.swing.tree.TreeNode getChildAt(int childIndex)
          Deprecated.  
 int getChildCount()
          Deprecated.  
 int getIndex(javax.swing.tree.TreeNode node)
          Deprecated.  
 void listRoleItemSet(MElementEvent mee)
          Deprecated.  
 void propertySet(MElementEvent mee)
          Deprecated.  
 void recovered(MElementEvent mee)
          Deprecated.  
 void removed(MElementEvent mee)
          Deprecated.  
 void roleAdded(MElementEvent mee)
          Deprecated.  
 void roleRemoved(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 org.argouml.uml.ui.UMLTreeRootNode
getAllowsChildren, getContainer, getModel, getParent, getProperty, isLeaf, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLOwnedElementRootNode

public UMLOwnedElementRootNode(UMLUserInterfaceContainer container,
                               java.lang.String property,
                               boolean forClass)
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

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Deprecated. 

getChildCount

public int getChildCount()
Deprecated. 

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Deprecated. 

children

public java.util.Enumeration children()
Deprecated. 

propertySet

public void propertySet(MElementEvent mee)
Deprecated. 

listRoleItemSet

public void listRoleItemSet(MElementEvent mee)
Deprecated. 

recovered

public void recovered(MElementEvent mee)
Deprecated. 

removed

public void removed(MElementEvent mee)
Deprecated. 

roleAdded

public void roleAdded(MElementEvent mee)
Deprecated. 

roleRemoved

public void roleRemoved(MElementEvent mee)
Deprecated. 

targetChanged

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


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
Overrides:
targetReasserted in class UMLTreeRootNode

buildPopup

public boolean buildPopup(javax.swing.tree.TreeModel model,
                          javax.swing.JPopupMenu menu,
                          javax.swing.tree.TreePath path)
Deprecated. 
Specified by:
buildPopup in class UMLTreeRootNode


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