BioUML Workbench Extension Points
Extension point: biouml.workbench.diagramEditorPart
Diagram editor part
Identifier: biouml.workbench.diagramEditorPart
Description: BioUML workbench provides special pane where editors for some diagram data will be shown. Any plug-in can contribute specific editors to modify some diagram data. Typical example of diagram editor is DiagramDescriptionEditor allowing user to edit diagram description as HTML or plain text.
Configuration Markup:
<!ELEMENT diagramViewPart>
<!ATTLIST diagramViewPart>
class CDATA #REQUIRED
Name CDATA
ShortDescription CDATA
Priority CDATA
>
- class - the fully-qualified name of a class which implements ru.biosoft.gui.EditorPart.
- Name - tab display name
- ShortDescription - editor part short description, can be used as tool tip
- Priority - tab priority, tabs will be sorted according they priority.
EditorPart attributes are mapped to corresponding Action properties using the associated key, so other Action or user defined attributes can be used.
See Action.getValue(String key) for details.
Examples:
Following is an example of a DiagramDescriptionEditor definition:
<extension id="Diagram description" point="diagramEditorPart">
<diagramEditorPart
class="biouml.workbench.diagram.DiagramDescriptionEditor"
Name="Description"
ShortDescription="Diagram legend"
Priority = "1.1"
/>
</extension>
API Information: The value of the class attribute must represent an implementor of ru.biosoft.gui.EditorPart.
Supplied Implementation: