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.
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()
to Class biouml.model.DiagramViewBuilder
to Class biouml.model.SemanticController
BOTTOM