org.argouml.ui.explorer.rules
Class GoModelElementToContainedLostElements
java.lang.Object
org.argouml.ui.explorer.rules.AbstractPerspectiveRule
org.argouml.ui.explorer.rules.GoModelElementToContainedLostElements
- All Implemented Interfaces:
- PerspectiveRule
public class GoModelElementToContainedLostElements
- extends AbstractPerspectiveRule
Rule for ModelElement -> Contained Lost Elements.
The Contained elements are all the elements which,
if the owner is deleted, will be deleted, too.
Lost: the context is not set, i.e. a statemachine that is
not attached properly.
Method Summary |
java.util.Collection |
getChildren(java.lang.Object parent)
Gets a collection of 'child' objects for the given 'parent' object in the
uml model, which creates the tree structure. |
java.util.Set |
getDependencies(java.lang.Object parent)
Gets a collection of objects for any 'parent' object in the
uml model for which the tree structure must be recreated when
they are changed. |
java.lang.String |
getRuleName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GoModelElementToContainedLostElements
public GoModelElementToContainedLostElements()
getRuleName
public java.lang.String getRuleName()
- Specified by:
getRuleName
in interface PerspectiveRule
- Specified by:
getRuleName
in class AbstractPerspectiveRule
- Returns:
- the name of the rule, like "from->to".
getChildren
public java.util.Collection getChildren(java.lang.Object parent)
- Description copied from interface:
PerspectiveRule
- Gets a collection of 'child' objects for the given 'parent' object in the
uml model, which creates the tree structure.
- Specified by:
getChildren
in interface PerspectiveRule
- Specified by:
getChildren
in class AbstractPerspectiveRule
- Parameters:
parent
- the given parent
- Returns:
- the children
getDependencies
public java.util.Set getDependencies(java.lang.Object parent)
- Description copied from interface:
PerspectiveRule
- Gets a collection of objects for any 'parent' object in the
uml model for which the tree structure must be recreated when
they are changed.
- Parameters:
parent
- the parent
- Returns:
- the dependent objects