org.argouml.uml.diagram.ui
Class GoFilteredChildren
java.lang.Object
org.argouml.ui.AbstractGoRule
org.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GoFilteredChildren
public GoFilteredChildren(java.lang.String name,
AbstractGoRule tm,
org.tigris.gef.util.Predicate pred)
- Deprecated.
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)