org.argouml.ui.explorer.rules
Class AbstractPerspectiveRule

java.lang.Object
  extended byorg.argouml.ui.explorer.rules.AbstractPerspectiveRule
All Implemented Interfaces:
PerspectiveRule
Direct Known Subclasses:
GoAssocRoleToMessages, GoBehavioralFeatureToStateDiagram, GoBehavioralFeatureToStateMachine, GoClassifierToBehavioralFeature, GoClassifierToCollaboration, GoClassifierToInstance, GoClassifierToSequenceDiagram, GoClassifierToStateMachine, GoClassifierToStructuralFeature, GoClassToAssociatedClass, GoClassToNavigableClass, GoClassToSummary, GoCollaborationToDiagram, GoCollaborationToInteraction, GoComponentToResidentModelElement, GoCompositeStateToSubvertex, GoDiagramToEdge, GoDiagramToNode, GoElementToMachine, GoGeneralizableElementToSpecialized, GoInteractionToMessages, GoLinkToStimuli, GoMessageToAction, GoModelElementToComment, GoModelToBaseElements, GoModelToCollaboration, GoModelToDiagrams, GoModelToElements, GoModelToNode, GoNamespaceToClassifierAndPackage, GoNamespaceToDiagram, GoNamespaceToOwnedElements, GoNodeToResidentComponent, GoOperationToCollaboration, GoOperationToCollaborationDiagram, GoOperationToSequenceDiagram, GoPackageToClass, GoProjectToCollaboration, GoProjectToDiagram, GoProjectToModel, GoProjectToStateMachine, GoSignalToReception, GoStatemachineToDiagram, GoStateMachineToState, GoStateMachineToTop, GoStateMachineToTransition, GoStateToDoActivity, GoStateToDownstream, GoStateToEntry, GoStateToExit, GoStateToIncomingTrans, GoStateToInternalTrans, GoStateToOutgoingTrans, GoStimulusToAction, GoSummaryToAssociation, GoSummaryToAttribute, GoSummaryToIncomingDependency, GoSummaryToInheritance, GoSummaryToOperation, GoSummaryToOutgoingDependency, GoTransitionToSource, GoTransitionToTarget, GoUseCaseToExtensionPoint

public abstract class AbstractPerspectiveRule
extends Object
implements PerspectiveRule


Constructor Summary
AbstractPerspectiveRule()
           
 
Method Summary
abstract  Collection getChildren(Object parent)
          Gets a collection of 'child' objects for the given 'parent' object in the uml model, which creates the tree structure.
abstract  String getRuleName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.argouml.ui.explorer.rules.PerspectiveRule
getDependencies
 

Constructor Detail

AbstractPerspectiveRule

public AbstractPerspectiveRule()
Method Detail

getRuleName

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

getChildren

public abstract Collection getChildren(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
Parameters:
parent - the given parent
Returns:
the children
See Also:
PerspectiveRule.getChildren(java.lang.Object)

toString

public String toString()
See Also:
Object.toString()


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