Difference between revisions of "Common class (extension point)"
From BioUML platform
Tagir Valeev (Talk | contribs) m ({{Class}}) |
Tagir Valeev (Talk | contribs) m ({{Class}}) |
||
Line 22: | Line 22: | ||
</extension> | </extension> | ||
− | Two common classes are specified here: SqlTrack and AnnotatedSequence. | + | Two common classes are specified here: {{Class|ru.biosoft.bsa.SqlTrack}} and {{Class|ru.biosoft.bsa.AnnotatedSequence}}. |
Revision as of 16:09, 13 May 2013
- Identifier
- ru.biosoft.access.commonClass
- Plugin
- ru.biosoft.access
- Since
- 0.9.3
Description
Common classes are Java classes which implement DataElement
interface and commonly appear in the repository tree. If you create new type of elements which appear in the repository, then it's desired to register it via this extension point.
Currently common classes are used in two places:
- To preload classes hierarchies in JavaScript code of BioUML web edition which makes web client more responsive.
- To automatically generate Template:Element types via BioUML wiki Bot.
Configuration Markup
<!ELEMENT class> <!ATTLIST class name CDATA #REQUIRED >
- name
- Fully-qualified name of the common class
Example
<extension point="ru.biosoft.access.commonClass"> <class name="ru.biosoft.bsa.SqlTrack"/> <class name="ru.biosoft.bsa.AnnotatedSequence"/> </extension>
Two common classes are specified here: SqlTrack
and AnnotatedSequence
.