org.argouml.sequence2.diagram
Class SequenceDiagramFactory

java.lang.Object
  extended by org.argouml.sequence2.diagram.SequenceDiagramFactory
All Implemented Interfaces:
DiagramFactoryInterface, DiagramFactoryInterface2

public class SequenceDiagramFactory
extends java.lang.Object
implements DiagramFactoryInterface, DiagramFactoryInterface2

This factory creates a sequence2 Sequence Diagram.

See Also:
DiagramFactory

Constructor Summary
SequenceDiagramFactory()
           
 
Method Summary
 ArgoDiagram createDiagram(java.lang.Object namespace, java.lang.Object machine)
          Factory method to create a new instance of an ArgoDiagram, including the sequence2 Sequence Diagram
 ArgoDiagram createDiagram(java.lang.Object owner, java.lang.String name, DiagramSettings settings)
          Factory method to create a new instance of an ArgoDiagram.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceDiagramFactory

public SequenceDiagramFactory()
Method Detail

createDiagram

public ArgoDiagram createDiagram(java.lang.Object namespace,
                                 java.lang.Object machine)
Factory method to create a new instance of an ArgoDiagram, including the sequence2 Sequence Diagram

Specified by:
createDiagram in interface DiagramFactoryInterface
Parameters:
namespace - The namespace that (in)directly owns the elements on the diagram
machine - The StateMachine for the diagram (only: statemachine - activitygraph)
Returns:
the newly instantiated class diagram

createDiagram

public ArgoDiagram createDiagram(java.lang.Object owner,
                                 java.lang.String name,
                                 DiagramSettings settings)
Factory method to create a new instance of an ArgoDiagram.

Specified by:
createDiagram in interface DiagramFactoryInterface2
Parameters:
owner - the owning element. This can be the owning namespace for a Class diagram or an owning Statemachine for a State Diagram or any other interpretation that the diagram type wants to apply.
name - the name of the diagram. This may be null if the caller would like the factory to provide a default name.
settings - default rendering settings for the diagram
Returns:
the newly instantiated diagram


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook