org.argouml.ui.explorer.rules
Interface PerspectiveRule

All Known Implementing Classes:
AbstractPerspectiveRule

public interface PerspectiveRule

This is the interface for rules that together make a model perspective in the explorer.

Since:
0.15.2, Created on 03 October 2003, 20:55

Method Summary
 Collection getChildren(Object parent)
          Gets a collection of 'child' objects for the given 'parent' object in the uml model, which creates the tree structure.
 Set getDependencies(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.
 String getRuleName()
           
 

Method Detail

getRuleName

public String getRuleName()
Returns:
the name of the rule, like "from->to".

getChildren

public Collection getChildren(Object parent)
Gets a collection of 'child' objects for the given 'parent' object in the uml model, which creates the tree structure.

Parameters:
parent - the given parent
Returns:
the children

getDependencies

public Set getDependencies(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.

Parameters:
parent - the parent
Returns:
the dependent objects


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook