Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## biouml.model
Class DiagramTypeSupport

Direct Known Subclasses:
  EModelDiagramType, CellMLDiagramType, GinSimDiagramType, SbmlDiagramType, PathwayDiagramType

public class DiagramTypeSupport
implements DiagramType

Stub implementation of DiagramType interface. DefaultDiagramViewBuilder and DefaultSemanticController are used. The class also defines some usefull procedure to get the diagram legend.

Method Summary
`DiagramFilter` | `getDiagramFilter(Diagram diagram)`
`DiagramViewBuilder` | `getDiagramViewBuilder()`
`Class[]` | `getEdgeTypes()`
`URL` | `getLegend()` Returns URL for HTML file that contains the legend for the diagram type.
`Class[]` | `getNodeTypes()`
`SemanticController` | `getSemanticController()`

Method Detail

### getDiagramFilter

    public DiagramFilter getDiagramFilter(Diagram diagram)

### getDiagramViewBuilder

    public DiagramViewBuilder getDiagramViewBuilder()

### getEdgeTypes

    public Class[] getEdgeTypes()

### getLegend

    public URL getLegend()

  Returns URL for HTML file that contains the legend for the diagram type. It is suggested that legend located in the direcotory "resources" relative diagram class and legend HTML file has name quals to digaram type class name. For example legend file "OntologyDiagramType.html" for biouml.standard.diagram.OntologyDiagramType class should be located at biouml/standard/diagram/resources subdirectory.

### getNodeTypes

    public Class[] getNodeTypes()

### getSemanticController

    public SemanticController getSemanticController()

Association Links

to Class biouml.model.DiagramViewBuilder

to Class biouml.model.SemanticController

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM