org.argouml.ui.explorer.rules
Class GoNodeToResidentComponent

java.lang.Object
  extended by org.argouml.ui.explorer.rules.AbstractPerspectiveRule
      extended by org.argouml.ui.explorer.rules.GoNodeToResidentComponent
All Implemented Interfaces:
PerspectiveRule

public class GoNodeToResidentComponent
extends AbstractPerspectiveRule

Rule for Node -> Resident Component. Should in fact be named Node -> Deployed Component.


Constructor Summary
GoNodeToResidentComponent()
           
 
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

GoNodeToResidentComponent

public GoNodeToResidentComponent()
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