Skip to content
Snippets Groups Projects
plugin.xml 4.86 KiB
Newer Older
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="modelElementHandler" name="Model Element Handler" schema="schema/modelElementHandler.exsd"/>
   <extension-point id="modelEditorBinding" name="Model Element Editor Bindings" schema="schema/modelEditorBinding.exsd"/>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="org.fortiss.tooling.kernel.ui.internal.editor.BindingEditor"
            default="false"
            id="org.fortiss.tooling.kernel.ui.internal.editor.BindingEditor"
            name="Binding Editor">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            class="org.fortiss.tooling.kernel.ui.internal.views.NavigatorViewPart"
            icon="icons/tumlogo.png"
            id="org.fortiss.tooling.kernel.model.navigator"
            name="Model Navigator"
            restorable="true">
      </view>
      <view
            class="org.fortiss.tooling.kernel.ui.internal.views.LibraryView"
            icon="icons/library.png"
            id="org.fortiss.tooling.kernel.model.element.library"
            name="Model Elements"
            restorable="true">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
         
      <menuContribution
            allPopups="false"
            locationURI="popup:org.fortiss.tooling.kernel.model.navigator2?before=custom">
         <menu
               icon="icons/add.png"
               id="org.fortiss.tooling.kernel.model.navigator.newmenu"
               label="New...">
            <visibleWhen
                  checkEnabled="false">
               <with
                     variable="activeMenuSelection">
                  <iterate>
                     <adapt
                           type="org.eclipse.emf.ecore.EObject">
                     </adapt>
                  </iterate>
               </with>
            </visibleWhen>
            <dynamic
                  class="org.fortiss.tooling.kernel.ui.internal.views.NewMenu"
                  id="org.fortiss.tooling.kernel.model.navigator.newmenu.content">
            </dynamic>
         </menu>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.emf.ecore.EObject"
            class="org.fortiss.tooling.kernel.ui.internal.properties.PropertiesAdapterFactory">
         <adapter
               type="org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor">
         </adapter>
      </factory>
   </extension>
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
      <propertyContributor
            contributorId="org.fortiss.tooling.kernel.ui.properties.Contributor"
            labelProvider="org.fortiss.tooling.kernel.ui.internal.views.NavigatorTreeLabelProvider"
            typeMapper="org.conqat.ide.commons.gef.properties.EditPartTypeMapper">
         <propertyCategory
               category="main"></propertyCategory>
      </propertyContributor>
   </extension>
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
      <propertyTabs
            contributorId="org.fortiss.tooling.kernel.ui.properties.Contributor">
         <propertyTab
               category="main"
               id="org.fortiss.tooling.kernel.ui.property.tab.general"
               label="General">
         </propertyTab>
         <propertyTab
               afterTab="org.fortiss.tooling.kernel.ui.property.tab.general"
               category="main"
               id="org.fortiss.tooling.kernel.ui.property.tab.internal"
               label="Internal">
         </propertyTab>
      </propertyTabs>
   </extension>
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertySections">
      <propertySections
            contributorId="org.fortiss.tooling.kernel.ui.properties.Contributor">
         <propertySection
               class="org.fortiss.tooling.kernel.ui.internal.properties.IdLabeledPropertySection"
               enablesFor="1"
               id="org.fortiss.tooling.kernel.ui.internal.properties.IdLabeledPropertySection"
               tab="org.fortiss.tooling.kernel.ui.property.tab.internal">
            <input
                  type="org.fortiss.tooling.kernel.model.IIdLabeled">
            </input>
         </propertySection>
         <propertySection
               class="org.fortiss.tooling.kernel.ui.internal.properties.NamedCommentedPropertySection"
               id="org.fortiss.tooling.kernel.ui.internal.properties.NamedCommentedPropertySection"
               tab="org.fortiss.tooling.kernel.ui.property.tab.general">
            <input
                  type="org.fortiss.tooling.kernel.model.INamedCommentedElement">
            </input>
         </propertySection>
      </propertySections>
   </extension>

</plugin>