org.argouml.ui.explorer.rules
Class AbstractPerspectiveRule

java.lang.Object
  |
  +--org.argouml.ui.explorer.rules.AbstractPerspectiveRule
All Implemented Interfaces:
PerspectiveRule
Direct Known Subclasses:
GoAssocRoleMessages, GoBehavioralFeatureToStateDiagram, GoBehavioralFeatureToStateMachine, GoClassifierToBeh, GoClassifierToCollaboration, GoClassifierToInstance, GoClassifierToSequenceDiagram, GoClassifierToStateMachine, GoClassifierToStructuralFeature, GoClassToAssociatedClass, GoClassToNavigableClass, GoClassToSummary, GoCollaborationDiagram, GoCollaborationInteraction, GoCompositeStateToSubvertex, GoDiagramToEdge, GoDiagramToNode, GoElementToMachine, GoGenElementToDerived, GoInteractionMessage, GoInteractionMessages, GoLinkStimuli, GoMachineDiagram, GoMachineToState, GoMachineToTrans, GoMessageAction, GoModelElementToComment, GoModelToBaseElements, GoModelToClass, GoModelToCollaboration, GoModelToDiagrams, GoModelToElements, GoNamespaceToClassifierAndPackage, GoNamespaceToDiagram, GoNamespaceToOwnedElements, GoOperationToCollaboration, GoOperationToCollaborationDiagram, GoOperationToSequenceDiagram, GoProjectToCollaboration, GoProjectToDiagram, GoProjectToModel, GoProjectToStateMachine, GoSignalToReception, GoStateMachineToTop, GoStateMachineToTransition, GoStateToDoActivity, GoStateToDownstream, GoStateToEntry, GoStateToExit, GoStateToIncomingTrans, GoStateToInternalTrans, GoStateToOutgoingTrans, GoStimulusToAction, GoSummaryToAssociation, GoSummaryToAttribute, GoSummaryToIncomingDependency, GoSummaryToInheritance, GoSummaryToOperation, GoSummaryToOutgoingDependency, GoTransitionToSource, GoTransitionToTarget, GoUseCaseToExtensionPoint

public abstract class AbstractPerspectiveRule
extends java.lang.Object
implements PerspectiveRule


Constructor Summary
AbstractPerspectiveRule()
           
 
Method Summary
abstract  java.util.Collection getChildren(java.lang.Object parent)
          gets a collection of 'child' object for any 'parent' object in the uml model, this creates the tree structure.
abstract  java.lang.String getRuleName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractPerspectiveRule

public AbstractPerspectiveRule()
Method Detail

getChildren

public abstract java.util.Collection getChildren(java.lang.Object parent)
Description copied from interface: PerspectiveRule
gets a collection of 'child' object for any 'parent' object in the uml model, this creates the tree structure.

Specified by:
getChildren in interface PerspectiveRule

getRuleName

public abstract java.lang.String getRuleName()
Specified by:
getRuleName in interface PerspectiveRule
Returns:
the name of the rule, like "from -> to".

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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