org.argouml.ui.explorer.rules
Class GoModelElementToContainedLostElements

java.lang.Object
  extended by org.argouml.ui.explorer.rules.AbstractPerspectiveRule
      extended by 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.


Constructor Summary
GoModelElementToContainedLostElements()
           
 
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 org.argouml.ui.explorer.rules.AbstractPerspectiveRule
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoModelElementToContainedLostElements

public GoModelElementToContainedLostElements()
Method Detail

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


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook