org.argouml.uml.diagram
Interface DiagramFactoryInterface2
- All Known Implementing Classes:
- SequenceDiagramFactory
public interface DiagramFactoryInterface2
An interface to be implemented by factories for a specific diagram type.
- Since:
- 0.27.3 when it replaced DiagramFactoryInterface
createDiagram
ArgoDiagram createDiagram(java.lang.Object owner,
java.lang.String name,
DiagramSettings settings)
- Factory method to create a new instance of an ArgoDiagram.
- 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