tmf: Some fixes to folder handling in synchronization
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / plugin.xml
index ce6443d05fc94fb4603e61b1625b9ce07fddd837..fb8d77504be6d055849075da1e68138bac96e1e0 100644 (file)
@@ -2,7 +2,7 @@
 <?eclipse version="3.4"?>
 <plugin>
    <extension-point id="org.eclipse.linuxtools.tmf.ui.uml2SDLoader" name="TMF UML 2 Sequence Diagram Loader" schema="schema/org.eclipse.linuxtools.tmf.ui.uml2SDLoader.exsd"/>
-   <extension-point id="org.eclipse.linuxtools.tmf.ui.tracetype" name="Tmf Trace Type" schema="schema/org.eclipse.linuxtools.tmf.ui.tracetype.exsd"/>
+   <extension-point id="org.eclipse.linuxtools.tmf.ui.tracetypeui" name="Tmf Trace Type UI Elements" schema="schema/org.eclipse.linuxtools.tmf.ui.tracetypeui.exsd"/>
 
     <extension
          point="org.eclipse.ui.perspectives">
             id="org.eclipse.linuxtools.tmf.ui.views.timechart"
             name="%timechart.view.name"
             restorable="true">
-      </view> 
+      </view>
       <view
             allowMultiple="false"
             category="org.eclipse.linuxtools.tmf.ui.views.category"
-            class="org.eclipse.linuxtools.tmf.ui.views.environment.TmfEnvironmentView"
+            class="org.eclipse.linuxtools.tmf.ui.views.statesystem.TmfStateSystemExplorer"
             icon="icons/eview16/events_view.gif"
-            id="org.eclipse.linuxtools.tmf.ui.views.environment"
-            name="%environment.view.name"
+            id="org.eclipse.linuxtools.tmf.ui.views.ssvisualizer"
+            name="%ssvisualizer.view.name"
             restorable="true">
       </view>
       <view
@@ -44,7 +44,7 @@
             id="org.eclipse.linuxtools.tmf.ui.views.colors"
             name="%colors.view.name"
             restorable="true">
-      </view> 
+      </view>
       <view
             allowMultiple="false"
             category="org.eclipse.linuxtools.tmf.ui.views.category"
             name="%histogram.view.name"
             restorable="true">
       </view>
+      <view
+            category="org.eclipse.linuxtools.tmf.ui.views.category"
+            class="org.eclipse.linuxtools.tmf.ui.views.callstack.CallStackView"
+            icon="icons/eview16/callstack_view.gif"
+            id="org.eclipse.linuxtools.tmf.ui.views.callstack"
+            name="%callstack.view.name"
+            restorable="true">
+      </view>
+      <view
+            allowMultiple="false"
+            category="org.eclipse.linuxtools.tmf.ui.views.category"
+            class="org.eclipse.linuxtools.tmf.ui.views.synchronization.TmfSynchronizationView"
+            icon="icons/eview16/synced.gif"
+            id="org.eclipse.linuxtools.tmf.ui.views.synchronization"
+            name="%synchronization.view.name"
+            restorable="true">
+      </view>
    </extension>
    <extension
          point="org.eclipse.ui.editors">
             project="true">
          <description>
             %project.new.wizard.description
-            
+
          </description>
       </wizard>
       <wizard
       </category>
       <wizard
             category="org.eclipse.linuxtools.tmf.import.category"
-            class="org.eclipse.linuxtools.tmf.ui.project.wizards.ImportTraceWizard"
+            class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.ImportTraceWizard"
             icon="icons/etool16/import.gif"
             id="org.eclipse.linuxtools.tmf.ui.trace.import.wizard"
             name="%project.import.wizard.name">
       </wizard>
+      <wizard
+            category="org.eclipse.linuxtools.tmf.import.category"
+            class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.BatchImportTraceWizard"
+            icon="icons/etool16/import.gif"
+            id="org.eclipse.linuxtools.tmf.ui.batch_import"
+            name="%project.import.wizard.name.batch">
+      </wizard>
+      <wizard
+            category="org.eclipse.linuxtools.tmf.import.category"
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageWizard"
+            icon="icons/etool16/import.gif"
+            id="org.eclipse.linuxtools.tmf.ui.trace.import.package.wizard"
+            name="%project.import.wizard.name.tracepkg">
+      </wizard>
    </extension>
    <extension
          id="org.eclipse.linuxtools.tmf.project.nature"
                menuGroupId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.menuGroupId"
                type="new"
                wizardId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject">
-            <enablement></enablement>
+               <enablement>
+                  <with variable="activeWorkbenchWindow.activePerspective">
+                     <equals
+                          value="org.eclipse.linuxtools.tmf.ui.perspective">
+                     </equals>
+                  </with>
+               </enablement>
          </commonWizard>
+         <commonSorter
+               class="org.eclipse.linuxtools.tmf.ui.project.model.TmfViewerSorter"
+               id="org.eclipse.linuxtools.tmf.ui.navigator.viewerSorter">
+         </commonSorter>
       </navigatorContent>
    </extension>
    <extension
             <contentExtension
                   pattern="org.eclipse.ui.navigator.resources.filters.*">
             </contentExtension>
+            <contentExtension
+                  pattern="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper">
+            </contentExtension>
          </includes>
       </viewerContentBinding>
    </extension>
    <extension
          point="org.eclipse.ui.menus">
       <menuContribution
-            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
+            allPopups="false"
+            locationURI="popup:org.eclipse.ui.popup.any?after=group.open">
          <command
-               commandId="org.eclipse.ui.file.import"
-               label="%command.import"
-               mnemonic="%command.import.mnemonic"
+               commandId="org.eclipse.linuxtools.tmf.ui.openFile"
+               label="%command.OpenFile.label"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <count
+                        value="1">
+                  </count>
+                  <iterate
+                        operator="and">
+                     <instanceof
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                     </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.openDir"
+               label="%command.OpenDirectory.label"
                style="push">
             <visibleWhen
                   checkEnabled="false">
                </with>
             </visibleWhen>
          </command>
-         <separator
-               name="org.eclipse.linuxtools.tmf.ui.separator1"
-               visible="true">
-         </separator>
          <command
                commandId="org.eclipse.ui.navigate.openResource"
                disabledIcon="/icons/dlcl16/open.gif"
                         <instanceof
                               value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                         </instanceof>
+                        <instanceof
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement">
+                        </instanceof>
+                     </or>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
+      </menuContribution>
+      <menuContribution
+            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
+         <separator
+               name="org.eclipse.linuxtools.tmf.ui.separator1"
+               visible="true">
+         </separator>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.import"
+               label="%command.import"
+               mnemonic="%command.import.mnemonic"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <count
+                        value="1">
+                  </count>
+                  <iterate
+                        operator="and">
+                     <instanceof
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                     </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.batch_import"
+               label="%command.batch_import"
+               mnemonic="%command.batch_import.mnemonic"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <count
+                        value="1">
+                  </count>
+                  <iterate
+                        operator="and">
+                     <instanceof
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                     </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
+         <separator
+               name="org.eclipse.linuxtools.tmf.ui.separator0"
+               visible="true">
+         </separator>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.command.new_folder"
+               icon="icons/etool16/newfolder_wiz.gif"
+               label="%command.new_folder"
+               mnemonic="%command.new_folder.mnemonic"
+               style="push"
+               tooltip="%command.new_folder.description">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <count
+                        value="1">
+                  </count>
+                  <iterate
+                        ifEmpty="false"
+                        operator="or">
+                     <or>
+                        <instanceof
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                        </instanceof>
                      </or>
                   </iterate>
                </with>
                         <instanceof
                               value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                         </instanceof>
+                        <and>
+                           <not>
+                              <instanceof
+                                    value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+                              </instanceof>
+                           </not>
+                           <instanceof
+                                 value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                           </instanceof>
+                        </and>
                      </or>
                   </iterate>
                </with>
                   checkEnabled="false">
                <with
                      variable="selection">
-                  <iterate
-                        ifEmpty="false"
-                        operator="and">
-                     <or>
+                  <or>
+                     <iterate
+                           ifEmpty="false"
+                           operator="and">
                         <and>
                            <instanceof
                                  value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
                               </test>
                            </not>
                         </and>
+                     </iterate>
+                     <iterate
+                           ifEmpty="false"
+                           operator="and">
                         <instanceof
                               value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                         </instanceof>
-                     </or>
-                  </iterate>
+                     </iterate>
+                     <iterate
+                           ifEmpty="false"
+                           operator="and">
+                        <and>
+                           <not>
+                              <instanceof
+                                    value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+                              </instanceof>
+                           </not>
+                           <instanceof
+                                 value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                           </instanceof>
+                        </and>
+                     </iterate>
+                  </or>
                </with>
             </visibleWhen>
          </command>
                </with>
             </visibleWhen>
          </command>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg"
+               label="%command.import_trace_package"
+               mnemonic="%command.import_trace_package.mnemonic"
+               style="push"
+               tooltip="%command.import_trace_package.description">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <and>
+                     <count
+                           value="1">
+                     </count>
+                     <iterate
+                           ifEmpty="false"
+                           operator="and">
+                        <instanceof
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                        </instanceof>
+                     </iterate>
+                  </and>
+               </with>
+            </visibleWhen>
+         </command>
+        <separator
+              name="org.eclipse.linuxtools.tmf.ui.export.separator"
+              visible="true">
+        </separator>
+        <command
+              commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg"
+              icon="icons/etool16/export.gif"
+              label="%command.export_trace_package"
+              mnemonic="%command.export_trace_package.mnemonic"
+              style="push"
+              tooltip="%command.export_trace_package.description">
+           <visibleWhen
+                 checkEnabled="false">
+              <with
+                    variable="selection">
+                 <or>
+                    <iterate
+                          ifEmpty="false"
+                          operator="and">
+                       <instanceof
+                             value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+                       </instanceof>
+                    </iterate>
+                    <and>
+                       <count
+                             value="1">
+                       </count>
+                       <iterate
+                             operator="and">
+                          <instanceof
+                                value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                          </instanceof>
+                       </iterate>
+                    </and>
+                 </or>
+              </with>
+           </visibleWhen>
+        </command>
          <separator
                name="org.eclipse.linuxtools.tmf.ui.separator3"
                visible="true">
                mnemonic="%command.select_trace_type.mnemonic"
                tooltip="%command.select_trace_type.description">
             <dynamic
-                  class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem"
+                  class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectElementTypeContributionItem"
                   id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic">
             </dynamic>
             <separator
                   <iterate
                         ifEmpty="false"
                         operator="and">
-                     <instanceof
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
-                     </instanceof>
+                      <instanceof
+                            value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+                      </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </menu>
+         <menu
+               label="%command.select_experiment_type"
+               mnemonic="%command.select_experiment_type.mnemonic"
+               tooltip="%command.select_experiment_type.description">
+            <dynamic
+                  class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectElementTypeContributionItem"
+                  id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic">
+            </dynamic>
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <iterate
+                        ifEmpty="false"
+                        operator="and">
+                      <instanceof
+                            value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+                      </instanceof>
                   </iterate>
                </with>
             </visibleWhen>
                </with>
             </visibleWhen>
          </command>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces"
+               icon="icons/obj16/add_obj.gif"
+               label="%command.synchronize_traces"
+               mnemonic="%command.synchronize_traces.mnemonic"
+               style="push"
+               tooltip="%commands.synchronize_traces.description">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <count
+                        value="1">
+                  </count>
+                  <iterate
+                        ifEmpty="false"
+                        operator="and">
+                     <instanceof
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+                     </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
          <separator
                name="org.eclipse.linuxtools.tmf.ui.separator5"
                visible="true">
                </with>
             </visibleWhen>
          </command>
+         <command
+               commandId="org.eclipse.linuxtools.tmf.ui.command.analysis_help"
+               icon="icons/dlcl16/open.gif"
+               label="%command.analysis_help"
+               mnemonic="%command.analysis_help.mnemonic"
+               style="push"
+               tooltip="%command.analysis_help.description">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="selection">
+                  <count
+                        value="1">
+                  </count>
+                  <iterate
+                        ifEmpty="false"
+                        operator="and">
+                     <instanceof
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisElement">
+                     </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=add_delete">
+         <command
+               commandId="org.eclipse.ui.edit.delete"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+         <command
+               commandId="org.eclipse.ui.edit.cut"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+         <command
+               commandId="org.eclipse.ui.edit.copy"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="toolbar:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+         <command
+               commandId="org.eclipse.ui.edit.paste"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=delete">
+         <command
+               commandId="org.eclipse.ui.edit.delete"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+         <command
+               commandId="org.eclipse.ui.edit.cut"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+         <command
+               commandId="org.eclipse.ui.edit.copy"
+               style="push">
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="popup:org.eclipse.linuxtools.tmf.ui.views.filter?after=edit">
+         <command
+               commandId="org.eclipse.ui.edit.paste"
+               style="push">
+         </command>
       </menuContribution>
    </extension>
    <extension
             id="org.eclipse.linuxtools.tmf.ui.commands.category"
             name="%commands.category.name">
       </category>
+      <command
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+            description="%command.new_folder.description"
+            id="org.eclipse.linuxtools.tmf.ui.command.new_folder"
+            name="%command.new_folder">
+      </command>
       <command
             categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
             description="%command.new_experiment.description"
             id="org.eclipse.linuxtools.tmf.ui.command.new_experiment"
             name="%command.new_experiment">
       </command>
+      <command
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+            description="%command.analysis_help.description"
+            id="org.eclipse.linuxtools.tmf.ui.command.analysis_help"
+            name="%command.analysis_help">
+      </command>
       <command
             categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
             description="%command.select_trace_type.description"
             id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"
             name="%command.delete_suppl_files">
       </command>
+      <command
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+            id="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg"
+            name="%command.export_trace_package">
+      </command>
+      <command
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+            id="org.eclipse.linuxtools.tmf.ui.command.importtracepkg"
+            name="%command.import_trace_package">
+      </command>
       <command
             categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
             description="%command.select_traces.description"
             id="org.eclipse.linuxtools.tmf.ui.command.select_traces"
             name="%command.select_traces">
       </command>
+      <command
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+            description="%command.synchronize_traces.description"
+            id="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces"
+            name="%command.synchronize_traces">
+      </command>
       <category
             description="%commands.parser.category.description"
             id="org.eclipse.linuxtools.tmf.ui.commands.parser.category"
       </command>
       <category
             description="%commands.uml2sd.category.name"
-            id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category"    
+            id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category"
             name="%commands.uml2sd.category.name">
       </category>
       <command
             description="%commands.uml2sd.showstart.description"
             id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart"
             name="%commands.uml2sd.showstart">
-      </command>      
+      </command>
       <command
             categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category"
             description="%commands.uml2sd.scrollup.description"
             id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight"
             name="%commands.uml2sd.scrollright">
       </command>
+      <command
+            description="%command.import.description"
+            id="org.eclipse.linuxtools.tmf.ui.import"
+            name="%command.import">
+      </command>
+      <command
+            description="%command.batch_import.description"
+            id="org.eclipse.linuxtools.tmf.ui.batch_import"
+            name="%command.batch_import">
+      </command>
+      <command
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
+            description="%command.export_to_text.description"
+            id="org.eclipse.linuxtools.tmf.ui.exportToText"
+            name="%command.export_to_text">
+      </command>
+      <command
+            categoryId="org.eclipse.ui.category.file"
+            defaultHandler="org.eclipse.linuxtools.internal.tmf.ui.commands.OpenFileHandler"
+            description="%command.OpenFile.description"
+            id="org.eclipse.linuxtools.tmf.ui.openFile"
+            name="%command.OpenFile.name">
+      </command>
+      <command
+            categoryId="org.eclipse.ui.category.file"
+            defaultHandler="org.eclipse.linuxtools.internal.tmf.ui.commands.OpenDirHandler"
+            description="%command.OpenDirectory.description"
+            id="org.eclipse.linuxtools.tmf.ui.openDir"
+            name="%command.OpenDirectory.name">
+      </command>
    </extension>
    <extension
          point="org.eclipse.ui.handlers">
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ImportTraceHandler"
-            commandId="org.eclipse.ui.file.import">
-         <activeWhen>
-            <and>
-               <count
-                     value="1">
-               </count>
-               <iterate
-                     ifEmpty="false"
-                     operator="and">
-                  <instanceof
-                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
-                  </instanceof>
-               </iterate>
-            </and>
-         </activeWhen>
+            commandId="org.eclipse.linuxtools.tmf.ui.import">
       </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler"
             </and>
          </activeWhen>
       </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAnalysisHelpHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.command.analysis_help">
+         <activeWhen>
+            <and>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     operator="and">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisElement">
+                  </instanceof>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAnalysisOutputHandler"
+            commandId="org.eclipse.ui.navigate.openResource">
+         <activeWhen>
+            <and>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     operator="and">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement">
+                  </instanceof>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler"
             commandId="org.eclipse.ui.edit.copy">
             </and>
          </activeWhen>
       </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameFolderHandler"
+            commandId="org.eclipse.ui.edit.rename">
+         <activeWhen>
+            <and>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     operator="and">
+                  <and>
+                     <not>
+                        <instanceof
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+                        </instanceof>
+                     </not>
+                     <instanceof
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                     </instanceof>
+                  </and>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler"
             commandId="org.eclipse.ui.edit.delete">
             </iterate>
          </activeWhen>
       </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteFolderHandler"
+            commandId="org.eclipse.ui.edit.delete">
+         <activeWhen>
+            <iterate
+                  ifEmpty="false"
+                  operator="and">
+               <not>
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTracesFolder">
+                  </instanceof>
+               </not>
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+               </instanceof>
+            </iterate>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewFolderHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.command.new_folder">
+         <activeWhen>
+            <and>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     ifEmpty="false"
+                     operator="or">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                  </instanceof>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler"
             commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
             </and>
          </activeWhen>
       </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg">
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg">
+         <activeWhen>
+            <and>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     operator="and">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
+                  </instanceof>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler"
             commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">
             <iterate
                   ifEmpty="false"
                   operator="and">
-               <instanceof
+               <or>
+                  <instanceof
                      value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
-               </instanceof>
+                  </instanceof>
+                  <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+                  </instanceof>
+               </or>
             </iterate>
          </activeWhen>
       </handler>
             </and>
          </activeWhen>
       </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SynchronizeTracesHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces">
+         <activeWhen>
+            <and>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     operator="and">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+                  </instanceof>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler"
             commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers">
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.editors.handlers.AddBookmarkHandler"
             commandId="org.eclipse.ui.edit.addBookmark">
+         <activeWhen>
+            <and>
+               <with
+                     variable="activePart">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor">
+                  </instanceof>
+               </with>
+               <count
+                     value="1">
+               </count>
+               <iterate
+                     ifEmpty="false"
+                     operator="and">
+                  <instanceof
+                        value="org.eclipse.linuxtools.tmf.core.event.ITmfEvent">
+                  </instanceof>
+               </iterate>
+            </and>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.batch_import">
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.internal.tmf.ui.commands.ExportToTextCommandHandler"
+            commandId="org.eclipse.linuxtools.tmf.ui.exportToText">
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.tmf.ui.views.filter.CopyHandler"
+            commandId="org.eclipse.ui.edit.copy">
+         <activeWhen>
+            <with
+                  variable="activePart">
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+               </instanceof>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.tmf.ui.views.filter.PasteHandler"
+            commandId="org.eclipse.ui.edit.paste">
+         <activeWhen>
+            <with
+                  variable="activePart">
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+               </instanceof>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.tmf.ui.views.filter.CutHandler"
+            commandId="org.eclipse.ui.edit.cut">
+         <activeWhen>
+            <with
+                  variable="activePart">
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
+               </instanceof>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.linuxtools.tmf.ui.views.filter.DeleteHandler"
+            commandId="org.eclipse.ui.edit.delete">
          <activeWhen>
             <with
-                  variable="activeEditor">
+                  variable="activePart">
                <instanceof
-                     value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor">
+                     value="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView">
                </instanceof>
             </with>
          </activeWhen>
             contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
             commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
-      </key>   
+      </key>
       <key
             sequence="SHIFT+ALT+END"
             contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
             commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
-      </key>   
+      </key>
       <key
             sequence="SHIFT+ALT+HOME"
             contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
             commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
-      </key>    
+      </key>
       <key
             sequence="SHIFT+ALT+ARROW_UP"
             contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
             commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
-      </key>  
+      </key>
       <key
             sequence="SHIFT+ALT+ARROW_DOWN"
             contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TracePropertyTester"
             id="org.eclipse.linuxtools.tmf.ui.tracePropertyTester"
             namespace="org.eclipse.linuxtools.tmf.ui"
-            properties="isExperimentTrace,hasSupplementaryFiles"
+            properties="isExperimentTrace,hasSupplementaryFiles,traceType"
             type="org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement">
       </propertyTester>
    </extension>
    <extension
-         point="org.eclipse.linuxtools.tmf.ui.tracetype">
+         point="org.eclipse.ui.navigator.linkHelper">
+      <linkHelper
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"
+            id="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper">
+         <editorInputEnablement>
+             <instanceof value="org.eclipse.ui.IFileEditorInput"/>
+         </editorInputEnablement>
+         <selectionEnablement>
+             <or>
+                <instanceof
+                      value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+                </instanceof>
+                <instanceof
+                      value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+                </instanceof>
+             </or>
+         </selectionEnablement>
+      </linkHelper>
+   </extension>
+   <extension
+         point="org.eclipse.ui.exportWizards">
+      <wizard
+            category="org.eclipse.linuxtools.tmf.export.category"
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageWizard"
+            icon="icons/etool16/export.gif"
+            id="org.eclipse.linuxtools.tmf.ui.trace.export.package.wizard"
+            name="%project.export.wizard.name.tracepkg">
+      </wizard>
       <category
-            id="org.eclipse.linuxtools.tmf.ui.category.ctf"
-            name="%tracetype.category.ctf">
+            id="org.eclipse.linuxtools.tmf.export.category"
+            name="%project.new.category.name">
       </category>
-      <type
-            category="org.eclipse.linuxtools.tmf.ui.category.ctf"
-            event_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent"
-            icon="icons/eview16/events_view.gif"
-            id="org.eclipse.linuxtools.tmf.ui.type.ctf"
-            name="%tracetype.type.ctf"
-            trace_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace">
-      </type>
    </extension>
-
+   <extension
+         point="org.eclipse.linuxtools.tmf.core.analysis">
+      <output
+            class="org.eclipse.linuxtools.tmf.ui.analysis.TmfAnalysisViewOutput"
+            id="org.eclipse.linuxtools.tmf.ui.views.statistics">
+            <analysisId
+               id="org.eclipse.linuxtools.tmf.core.statistics.analysis">
+            </analysisId>
+      </output>
+   </extension>
+   <extension
+         point="org.eclipse.linuxtools.tmf.ui.tracetypeui">
+      <experiment
+            tracetype="org.eclipse.linuxtools.tmf.core.experiment.generic"
+            icon="icons/elcl16/experiment.gif">
+      </experiment>
+   </extension>
 </plugin>
This page took 0.036235 seconds and 5 git commands to generate.