<?xml version="1.0" encoding="UTF-8"?>
<plugin
  name="Workbench"
  id="ru.biosoft.workbench"
  version="0.8.6"  
  provider-name="%providerName"
  >
  
  <requires>
    <import plugin="ru.biosoft.access"/>
    <import plugin="ru.biosoft.graph"/>
    <import plugin="org.eclipse.core.runtime"/>
    <import plugin="com.beanexplorer"/>
    <import plugin="com.developmentontheedge.util"/>
    <import plugin="org.apache.log4j"/>
    <import plugin="org.mozilla.javascript"/>
    <import plugin="javax.help"/>
  </requires>

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

  <extension-point name="look and feel"             id="lookAndFeel"/>

  <extension-point name="visiblePluginsName"        id="visiblePlugin"/>
  <extension-point name="documentViewPart"          id="documentViewPart"/>
  <extension-point name="documentEditorPart"        id="documentEditorPart"/>

  <extension-point name="views"                 id="views"/>
  <extension-point name="perspectives"          id="perspectives"/>
  <extension-point name="perspectiveExtensions" id="perspectiveExtensions"/>

  <extension-point name="helpSet" id="helpSet"/>
  <extension-point name="aboutDialog" id="aboutDialog"/>

  <extension-point name="service" id="service"/>

  <extension-point name="document factory" id="documentFactory"/>

  <extension id="workbench" point="org.eclipse.core.runtime.applications"> 
    <application> 
       <run class="ru.biosoft.workbench.Workbench"/> 
    </application> 
  </extension> 

  <!-- ============================================================== -->
  <!-- Test issues                                                    --> 
  <!-- ============================================================== -->

  <extension point="ru.biosoft.workbench.views"> 
    <view
      id="test.label"
      name="Label"
      class="javax.swing.JLabel">
    </view>
    <view
      id="test.button"
      name="Button"
      class="javax.swing.JButton">
    </view>
  </extension> 

  <extension point="ru.biosoft.workbench.perspectives"> 
    <perspective
      id="test1"
      name="test 1">
    </perspective>
    <perspective
      id="test2"
      name="test 2">
    </perspective>
  </extension> 

  <extension point="ru.biosoft.workbench.perspectiveExtensions"> 
    <perspectiveExtension
      targetID="test1">
      <view id="test.label" 
        relative="none"/>
      <view id="test.button" 
        relative="test.label2"
        relationship="left"
        ratio="25"/>
    </perspectiveExtension>
    <perspectiveExtension
     targetID="test2">
     <view id="test.button"
     relative="none"/>
    </perspectiveExtension>
  </extension>

  <!--extension id="ApplicationLog" point="biouml.workbench.diagramViewPart">
      <diagramEditorPart 
        class="ru.biosoft.gui.LogPane" 
        Name="ApplicationLog"
        ShortDescription="Application log console"
        Priority = "2.4"
      /> 
  </extension--> 

  <!--extension id="ApplicationLog" point="ru.biosoft.workbench.documentViewPart">
      <diagramEditorPart 
        class="ru.biosoft.gui.LogPane" 
        Name="ApplicationLog"
        ShortDescription="Application log console"
        Priority = "4.0"
      /> 
  </extension--> 

  <extension id="TestService" point="ru.biosoft.workbench.service">
      <init name="Test Service" />
  </extension>

  <extension id="SubscriptionService" point="ru.biosoft.workbench.service">
      <init name="Simple subscription service" />
  </extension>

  <extension id="TestService2" point="ru.biosoft.workbench.service">
      <init name="Test Service2" />
  </extension>
</plugin>
