org.argouml.ui.explorer.rules
Class AbstractPerspectiveRule

java.lang.Object
  extended by org.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, GoEnumerationToLiterals, GoGeneralizableElementToSpecialized, GoInteractionToMessages, GoLinkToStimuli, GoMessageToAction, GoModelElementToBehavior, GoModelElementToComment, GoModelElementToContainedDiagrams, GoModelElementToContainedLostElements, GoModelElementToContents, GoModelToBaseElements, GoModelToCollaboration, GoModelToDiagrams, GoModelToElements, GoModelToNode, GoNamespaceToClassifierAndPackage, GoNamespaceToDiagram, GoNamespaceToOwnedElements, GoNodeToResidentComponent, GoOperationToCollaboration, GoOperationToCollaborationDiagram, GoOperationToSequenceDiagram, GoPackageToClass, GoPackageToElementImport, GoProfileConfigurationToProfile, GoProfileToCritics, GoProfileToModel, GoProjectToCollaboration, GoProjectToDiagram, GoProjectToModel, GoProjectToProfileConfiguration, GoProjectToRoots, GoProjectToStateMachine, GoSignalToReception, GoStatemachineToDiagram, GoStateMachineToState, GoStateMachineToTop, GoStateMachineToTransition, GoStateToDoActivity, GoStateToDownstream, GoStateToEntry, GoStateToExit, GoStateToIncomingTrans, GoStateToInternalTrans, GoStateToOutgoingTrans, GoStereotypeToTagDefinition, GoStimulusToAction, GoSubmachineStateToStateMachine, GoSummaryToAssociation, GoSummaryToAttribute, GoSummaryToIncomingDependency, GoSummaryToInheritance, GoSummaryToOperation, GoSummaryToOutgoingDependency, GoTransitiontoEffect, GoTransitionToGuard, 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' objects for the given 'parent' object in the uml model, which 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
 
Methods inherited from interface org.argouml.ui.explorer.rules.PerspectiveRule
getDependencies
 

Constructor Detail

AbstractPerspectiveRule

public AbstractPerspectiveRule()
Method Detail

getRuleName

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

getChildren

public abstract 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
Parameters:
parent - the given parent
Returns:
the children

toString

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


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook