<?xml version="1.0" encoding="UTF-8"?>
<plugin
  name="%pluginName"
  id="biouml.plugins.sbml"
  version="0.8.6"  
  provider-name="%providerName">
  
  <requires>
    <import plugin="org.apache.log4j"/>
    <import plugin="biouml.workbench"/>
    <import plugin="ru.biosoft.access"/>
    <import plugin="ru.biosoft.math"/>
    <import plugin="ru.biosoft.workbench"/>
    <import plugin="com.beanexplorer"/>
    <import plugin="com.developmentontheedge.util"/>
  </requires>

  <runtime>
    <library name="SBMLPlugin.jar">
      <export name="*"/>
    </library>
  </runtime>

  <extension id="SbmlModuleType" point="biouml.workbench.moduleType"> 
      <moduleType 
        class="biouml.plugins.sbml.SbmlModuleType"
        displayName="%SbmlModule" 
        description="%SbmlModuleDescription"
      /> 
  </extension> 

  <extension id="SbmlImporter" point="biouml.workbench.diagramImport"> 
     <import 
        format="SBML"
        importer="biouml.plugins.sbml.SbmlImporter"
        description="%SbmlImportDescription"
     /> 
  </extension> 

  <extension id="SbmlToSbmlImporter" point="biouml.workbench.diagramImport"> 
     <import 
        format="SBML"
        importer="biouml.plugins.sbml.SbmlImporter"
        description="%SbmlImportDescription"
        moduleType = "biouml.plugins.sbml.SbmlModuleType"
     /> 
  </extension> 

  <extension id="SbmlExporter" point="biouml.workbench.diagramExport"> 
     <export 
        diagramType="*"
        format="SBML level 1 version 1"
        suffix="-l1.xml"
        exporter="biouml.plugins.sbml.SbmlExporter"
        description="%SBMLExportDescription"
     /> 

     <export 
        diagramType="*"
        format="SBML level 2 version 1"
        suffix="-l2.xml"
        exporter="biouml.plugins.sbml.SbmlExporter"
        description="%SBMLExportDescription"
     /> 
  </extension> 
  
  <extension id="sbmlDiagramTypeConversions" point="biouml.workbench.diagramTypeConverter"> 

      <conversion 
        from="biouml.standard.diagram.SemanticNetworkDiagramType"
        to="biouml.plugins.sbml.SbmlDiagramType"
        converter="biouml.plugins.sbml.converters.SbmlConverter"
      /> 
      
      <conversion 
        from="biouml.standard.diagram.PathwayDiagramType"
        to="biouml.plugins.sbml.SbmlDiagramType"
        converter="biouml.plugins.sbml.converters.SbmlConverter"
      /> 
      
      <conversion 
        from="biouml.standard.diagram.PathwaySimulationDiagramType"
        to="biouml.plugins.sbml.SbmlDiagramType"
        converter="biouml.plugins.sbml.converters.SbmlConverter"
      /> 
      
      <conversion 
        from="biouml.standard.diagram.MetabolicPathwayDiagramType"
        to="biouml.plugins.sbml.SbmlDiagramType"
        converter="biouml.plugins.sbml.converters.SbmlConverter"
      /> 
      
      <conversion 
        from="biouml.standard.diagram.GeneNetworkDiagramType"
        to="biouml.plugins.sbml.SbmlDiagramType"
        converter="biouml.plugins.sbml.converters.SbmlConverter"
      /> 
      
  </extension> 
  
  <!-- ================================================================ -->
  <!-- annotations extension                                            -->
  <!-- ================================================================ -->
  
  <extension-point name="%annotation"             id="annotation"/>

  <extension id="RdfAnnotationReader" point="biouml.plugins.sbml.annotation"> 
      <annotation
        namespace="rdf" 
        extension_class="biouml.plugins.sbml.extensions.RdfExtensionReader"
      /> 
  </extension> 
  
  <extension id="ExperimentAnnotationExtension" point="biouml.plugins.sbml.annotation"> 
      <annotation
        namespace="experiment" 
        priority="3"
        extension_class="biouml.plugins.sbml.extensions.ExperimentExtension"
      /> 
  </extension> 
  
  <extension id="SimulationAnnotationExtension" point="biouml.plugins.sbml.annotation"> 
      <annotation
        namespace="simulation" 
        priority="1"
        extension_class="biouml.plugins.sbml.extensions.SimulationExtension"
      /> 
  </extension> 
  
  <extension id="PlotAnnotationExtension" point="biouml.plugins.sbml.annotation"> 
      <annotation
        namespace="plot" 
        priority="2"
        extension_class="biouml.plugins.sbml.extensions.PlotExtension"
      /> 
  </extension> 

</plugin>
