org.argouml.uml.diagram.ui
Class GoFilteredChildren

java.lang.Object
  extended byorg.argouml.ui.AbstractGoRule
      extended byorg.argouml.uml.diagram.ui.GoFilteredChildren
All Implemented Interfaces:
javax.swing.tree.TreeModel

Deprecated. As of ArgoUml version 0.13.4, any use of this class should be replaced by an AbstractGoRule subclass, because the use of the GEF Predicate class is not necessary now that we have org.argouml.model.ModelFacade#isA(...) methods.

public class GoFilteredChildren
extends AbstractGoRule


Constructor Summary
GoFilteredChildren(java.lang.String name, AbstractGoRule tm, org.tigris.gef.util.Predicate pred)
          Deprecated.  
 
Method Summary
 java.lang.Object getChild(java.lang.Object parent, int index)
          Deprecated.  
 int getChildCount(java.lang.Object parent)
          Deprecated.  
 java.util.Collection getChildren(java.lang.Object parent)
          Deprecated. this is the method that should be overridden by GoRules
 int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
          Deprecated.  
 java.lang.String getRuleName()
          Deprecated. return the name of the rule as it is displayed in the nav perspective edit pane.
 
Methods inherited from class org.argouml.ui.AbstractGoRule
addTreeModelListener, getRoot, isLeaf, removeTreeModelListener, toString, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoFilteredChildren

public GoFilteredChildren(java.lang.String name,
                          AbstractGoRule tm,
                          org.tigris.gef.util.Predicate pred)
Deprecated. 
Method Detail

getRuleName

public java.lang.String getRuleName()
Deprecated. 
Description copied from class: AbstractGoRule
return the name of the rule as it is displayed in the nav perspective edit pane. Returns for example "State->Substates".

Specified by:
getRuleName in class AbstractGoRule
See Also:
AbstractGoRule.toString()

getChild

public java.lang.Object getChild(java.lang.Object parent,
                                 int index)
Deprecated. 
Specified by:
getChild in interface javax.swing.tree.TreeModel
Overrides:
getChild in class AbstractGoRule
See Also:
TreeModel.getChild(Object, int)

getChildren

public java.util.Collection getChildren(java.lang.Object parent)
Deprecated. 
Description copied from class: AbstractGoRule
this is the method that should be overridden by GoRules

Specified by:
getChildren in class AbstractGoRule

getChildCount

public int getChildCount(java.lang.Object parent)
Deprecated. 
Specified by:
getChildCount in interface javax.swing.tree.TreeModel
Overrides:
getChildCount in class AbstractGoRule
See Also:
TreeModel.getChildCount(Object)

getIndexOfChild

public int getIndexOfChild(java.lang.Object parent,
                           java.lang.Object child)
Deprecated. 
Specified by:
getIndexOfChild in interface javax.swing.tree.TreeModel
Overrides:
getIndexOfChild in class AbstractGoRule
See Also:
TreeModel.getIndexOfChild(Object, Object)


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