<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>

	<!-- Hide from Windows->Show View -->
	<extension point="org.eclipse.ui.activities">  
	  <activity id="de.rcenvironment.components.excel.gui.activity.suppress.runtime" name="Suppress runtime view">
	  </activity>
	  <activityPatternBinding
	     activityId="de.rcenvironment.components.excel.gui.activity.suppress.runtime"
	     isEqualityPattern="true"
	     pattern="de.rcenvironment.components.excel.gui/de.rcenvironment.components.excel.gui.view.ExcelView">
	  </activityPatternBinding>
	 </extension>
	 
   <!-- Property Sections -->
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertySections">
      <propertySections
            contributorId="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor">
         <propertySection
               tab="workflow.editor.tab.excel.File"
               class="de.rcenvironment.components.excel.gui.properties.FileSection"
               id="workflow.editor.tab.Properties.Section.File"
               filter="de.rcenvironment.components.excel.gui.properties.ExcelComponentFilter"
               enablesFor="1">
         </propertySection>
         <propertySection
               tab="workflow.editor.tab.excel.Variables"
               class="de.rcenvironment.components.excel.gui.properties.VariablesSection"
               id="workflow.editor.tab.Properties.Section.Variables"
               filter="de.rcenvironment.components.excel.gui.properties.ExcelComponentFilter"
               enablesFor="1">
         </propertySection>
         <propertySection
               tab="workflow.editor.tab.excel.Macros"
               class="de.rcenvironment.components.excel.gui.properties.MacrosSection"
               id="workflow.editor.tab.Properties.Section.Macros"
               filter="de.rcenvironment.components.excel.gui.properties.ExcelComponentFilter"
               enablesFor="1">
         </propertySection>
         <propertySection
               class="de.rcenvironment.core.gui.workflow.editor.properties.ComponentHistoryDataSection"
               enablesFor="1"
               filter="de.rcenvironment.components.excel.gui.properties.ExcelComponentFilter"
               id="workflow.editor.tab.HistoryData.Section"
               tab="workflow.editor.tab.HistoryData">
         </propertySection>
      </propertySections>
   </extension>
   
   <!-- Register Property Sections -->
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
      <propertyTabs
            contributorId="de.rcenvironment.rce.gui.workflow.editor.WorkflowEditor">
         <propertyTab
               label="%file"
               category="default"
               id="workflow.editor.tab.excel.File">
         </propertyTab>
         <propertyTab
               label="%channels"
               category="default"
               afterTab="workflow.editor.tab.excel.File"
               id="workflow.editor.tab.excel.Variables">
         </propertyTab>
         <propertyTab
               label="%macros"
               category="default"
               afterTab="workflow.editor.tab.excel.Variables"
               id="workflow.editor.tab.excel.Macros">
         </propertyTab>
         <propertyTab
               category="history"
               id="workflow.editor.tab.HistoryData"
               label="Workflow Data"
               afterTab="workflow.editor.tab.excel.Macros">
         </propertyTab>
      </propertyTabs>
   </extension>
   
	<!-- Runtime View -->
   <extension point="org.eclipse.ui.views">
        <view allowMultiple="true"
            name="Excel"
            icon="resources/excel16.png"
            class="de.rcenvironment.components.excel.gui.view.ExcelView"
            id="de.rcenvironment.components.excel.gui.view.ExcelView"
            restorable="false">
        </view>
    </extension>
    
    <!-- Register Runtime View -->
    <extension point="de.rcenvironment.core.gui.workflow.monitoring">
        <monitor component="de.rcenvironment.excel"
            view="de.rcenvironment.components.excel.gui.view.ExcelView"
            default="true">
        </monitor>
    </extension>
    
    <!-- View Location -->
    <extension point="org.eclipse.ui.perspectiveExtensions">
		<perspectiveExtension targetID="de.rcenvironment.core">
			<view id="de.rcenvironment.components.excel.*" relationship="stack"
				relative="de.rcenvironment.core.Perspective.bottom" visible="false">
			</view>
		</perspectiveExtension>
	</extension>
   
    <!-- Dynamic Help -->
    <extension point="org.eclipse.help.contexts">
        <contexts 
            file="help/contexts.xml" plugin="de.rcenvironment">
         </contexts>
     </extension>
     
     <extension point="org.eclipse.help.toc">
   		<toc file="help/toc.xml"/>
 	</extension>
   
	<extension point="de.rcenvironment.core.gui.datamanagement.browser.historysubtreebuilder">
      <builder class="de.rcenvironment.components.excel.gui.dm.ExcelHistoryDataItemSubtreeBuilder"/>
   </extension>
   
</plugin>
