Bioclipse Resources

net.bioclipse.bioclipseResources

0.1.1

The FileView contains a collection of Objects in the file system. This BioclipseItems extension points allows third-party plug-ins to define new types of objects for the Bioclipse FileView.

<!ELEMENT extension (itemType+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT itemType EMPTY>

<!ATTLIST itemType

name          CDATA #IMPLIED

id            CDATA #REQUIRED

icon          CDATA #IMPLIED

class         CDATA #REQUIRED

targetClass   CDATA #REQUIRED

fileExtension CDATA #REQUIRED

level         CDATA #IMPLIED>


The following is an example of the bioclipseItems extension point usage:


<extension point=

"net.bioclipse.bioclipseItems"

>

<itemType class=

"net.bioclipse.model.type.CDKMoleculeFactory"

fileExtension=

"cml,mol,mdl,xyz,pdb"

icon=

"icons/molecule3D.gif"

id=

"bioclipse.CDKMolecule"

name=

"Bioclipse Molecule"

targetClass=

"java.io.File"

/>

</extension>

Plugins that want to extend this extension point must subclass net.bioclipse.model.BioclipseItemFactory and generate objects that implement the net.bioclipse.model.IBioclipseItem interface.

N/A