.
[taxeditor.git] / taxeditor-editor / plugin.xml
index 7d7737631854bfad0711d52f676c96b005753205..044eb7f127435165e6d8e6759ecfe3b1885a4ea7 100644 (file)
                label="Property Sheet"
                style="push">
          </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
+               label="Tabbed Properties"
+               style="push">
+         </command>
       </menuContribution>
       <menuContribution
             locationURI="menu:org.eclipse.ui.main.menu.navigate">
             name="Open Parent">
       </command>
    </extension>
+   <extension
+         point="org.eclipse.ui.commands">
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTabbedPropertiesViewHandler"
+            id="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
+            name="Tabbed Properties">
+      </command>
+   </extension>
    <extension
          point="org.eclipse.ui.elementFactories">
       <factory
             name="Taxonomic Editor Default Key Bindings">
       </scheme>
    </extension>
+   <extension
+         point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
+      <propertyContributor
+            contributorId="eu.etaxonomy.taxeditor.taxonNameEditor"
+            labelProvider="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyPageLabelProvider"
+            typeMapper="eu.etaxonomy.taxeditor.propertysheet.tabbed.TaxonTypeMapper">
+         <propertyCategory
+               category="taxonBase"></propertyCategory>
+      </propertyContributor>
+   </extension>
+   <extension
+         point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
+      <propertyTabs
+            contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
+         <propertyTab
+               category="taxonBase"
+               id="taxonNameEditor.nameTab"
+               label="Name">
+         </propertyTab>
+         <propertyTab
+               afterTab="taxonNameEditor.nomRefTab"
+               category="taxonBase"
+               id="taxonNameEditor.nameRelationsTab"
+               label="Name Relations">
+         </propertyTab>
+         <propertyTab
+               afterTab="taxonNameEditor.nameRelationsfTab"
+               category="taxonBase"
+               id="taxonNameEditor.secundumTab"
+               label="Secundum">
+         </propertyTab>
+         <propertyTab
+               afterTab="taxonNameEditor.secundumTab"
+               category="taxonBase"
+               id="taxonNameEditor.annotationsTab"
+               label="Annotations">
+         </propertyTab>
+         <propertyTab
+               afterTab="taxonNameEditor.annotationsTab"
+               category="taxonBase"
+               id="taxonNameEditor.generalTab"
+               label="General">
+         </propertyTab>
+      </propertyTabs>
+   </extension>
+   <extension
+         point="org.eclipse.ui.views.properties.tabbed.propertySections">
+      <propertySections
+            contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
+         <propertySection
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameOverviewSection"
+               id="taxonNameEditor.overview.name"
+               tab="taxonNameEditor.nameTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               afterSection="taxonNameEditor.overview.name"
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NamePropertySection"
+               id="taxonNameEditor.nameSection"
+               tab="taxonNameEditor.nameTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               afterSection="taxonNameEditor.nameSection"
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AuthorSection"
+               id="taxonNameEditor.authorSection"
+               tab="taxonNameEditor.nameTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               afterSection="taxonNameEditor.authorSection"
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NomRefPropertySection"
+               id="taxonNameEditor.nomRefSection"
+               tab="taxonNameEditor.nameTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.CreatedSection"
+               id="taxonNameEditor.createdSection"
+               tab="taxonNameEditor.generalTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AnnotationSection"
+               id="taxonNameEditor.annotationSection"
+               tab="taxonNameEditor.annotationsTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameRelationsSection"
+               id="taxonNameEditor.nameRelationSection"
+               tab="taxonNameEditor.nameRelationsTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+         <propertySection
+               class="eu.etaxonomy.taxeditor.propertysheet.tabbed.SecundumSection"
+               id="taxonNameEditor.secundumSection"
+               tab="taxonNameEditor.secundumTab">
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Taxon">
+            </input>
+            <input
+                  type="eu.etaxonomy.cdm.model.taxon.Synonym">
+            </input>
+         </propertySection>
+      </propertySections>
+   </extension>
 </plugin>