Rationalize the TMF commands
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / plugin.xml
index 2952adc4eafe0ddaeb7bbe33a7974a6aaf721463..30ef6ed482a7b65123e6d1c97570e5ff79dc5b2b 100644 (file)
       <menuContribution\r
             locationURI="popup:org.eclipse.ui.popup.any?after=additions">\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.import"\r
-               disabledIcon="icons/dtool16/import.gif"\r
-               icon="icons/etool16/import.gif"\r
-               label="%commands.trace_folder.import"\r
-               mnemonic="%commands.trace_folder.import.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace_folder.import.description">\r
+               commandId="org.eclipse.ui.file.import"\r
+               label="%command.import"\r
+               mnemonic="%command.import.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                visible="true">\r
          </separator>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.refresh"\r
-               disabledIcon="icons/dlcl16/refresh.gif"\r
-               icon="icons/elcl16/refresh.gif"\r
-               label="%commands.trace_folder.refresh"\r
-               mnemonic="%commands.trace_folder.refresh.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace_folder.refresh.description">\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <count\r
-                        value="1">\r
-                  </count>\r
-                  <iterate\r
-                        ifEmpty="false"\r
-                        operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">\r
-                     </instanceof>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </command>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.open"\r
-               disabledIcon="icons/dlcl16/open.gif"\r
-               icon="icons/elcl16/open.gif"\r
-               label="%commands.trace.open"\r
-               mnemonic="%commands.trace.open.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace.open.descritption">\r
+               commandId="org.eclipse.ui.navigate.openResource"\r
+               disabledIcon="/icons/dlcl16/open.gif"\r
+               icon="/icons/elcl16/open.gif"\r
+               label="%command.open"\r
+               mnemonic="%command.open.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                   <iterate\r
                         ifEmpty="false"\r
                         operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
-                     </instanceof>\r
+                     <or>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                        </instanceof>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                        </instanceof>\r
+                     </or>\r
                   </iterate>\r
                </with>\r
             </visibleWhen>\r
          </command>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.copy"\r
-               disabledIcon="IMG_TOOL_COPY_DISABLED"\r
-               icon="IMG_TOOL_COPY"\r
-               label="%commands.trace.copy"\r
-               mnemonic="%commands.trace.copy.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace.copy.description">\r
+               commandId="org.eclipse.ui.edit.copy"\r
+               label="%command.copy"\r
+               mnemonic="%command.copy.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                   <iterate\r
                         ifEmpty="false"\r
                         operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
-                     </instanceof>\r
+                     <or>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                        </instanceof>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                        </instanceof>\r
+                     </or>\r
                   </iterate>\r
                </with>\r
             </visibleWhen>\r
          </command>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.rename"\r
-               disabledIcon="icons/dlcl16/rename.gif"\r
-               icon="icons/elcl16/rename.gif"\r
-               label="%commands.trace.rename"\r
-               mnemonic="%commands.trace.rename.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace.rename.description">\r
+               commandId="org.eclipse.ui.edit.rename"\r
+               disabledIcon="/icons/dlcl16/rename.gif"\r
+               icon="/icons/elcl16/rename.gif"\r
+               label="%command.rename"\r
+               mnemonic="%command.rename.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                   <iterate\r
                         ifEmpty="false"\r
                         operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
-                     </instanceof>\r
+                     <or>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                        </instanceof>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                        </instanceof>\r
+                     </or>\r
                   </iterate>\r
                </with>\r
             </visibleWhen>\r
          </command>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.delete"\r
-               disabledIcon="IMG_ETOOL_DELETE_DISABLED"\r
-               icon="IMG_ETOOL_DELETE"\r
-               label="%commands.trace.delete"\r
-               mnemonic="%commands.trace.delete.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace.delete.description">\r
+               commandId="org.eclipse.ui.edit.delete"\r
+               label="%command.delete"\r
+               mnemonic="%command.delete.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                   <iterate\r
                         ifEmpty="false"\r
                         operator="and">\r
-                     <and>\r
+                     <or>\r
+                        <and>\r
+                           <instanceof\r
+                                 value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                           </instanceof>\r
+                           <not>\r
+                              <test\r
+                                    forcePluginActivation="true"\r
+                                    property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace">\r
+                              </test>\r
+                           </not>\r
+                        </and>\r
                         <instanceof\r
-                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
                         </instanceof>\r
-                        <not>\r
-                           <test\r
-                                 forcePluginActivation="true"\r
-                                 property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace">\r
-                           </test>\r
-                        </not>\r
-                     </and>\r
+                     </or>\r
                   </iterate>\r
                </with>\r
             </visibleWhen>\r
          </command>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.delete"\r
-               disabledIcon="IMG_ETOOL_DELETE_DISABLED"\r
-               icon="IMG_ETOOL_DELETE"\r
-               label="%commands.trace.remove"\r
-               mnemonic="%commands.trace.remove.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace.remove.description">\r
+               commandId="org.eclipse.ui.edit.delete"\r
+               label="%command.remove"\r
+               mnemonic="%command.remove.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                visible="true">\r
          </separator>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.deleteSupplementaryFiles"\r
-               label="%commands.trace.deleteSupplementaryFiles"\r
-               mnemonic="%commands.trace.deleteSupplementaryFiles.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.trace.deleteSupplementaryFiles.description">\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <iterate\r
-                       ifEmpty="false"\r
-                       operator="and">\r
-                     <and>\r
-                        <instanceof\r
-                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
-                        </instanceof>\r
-                        <test\r
-                              forcePluginActivation="true"\r
-                              property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles">\r
-                        </test>\r
-                     </and>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </command>\r
-         <separator\r
-               name="org.eclipse.linuxtools.tmf.ui.separator3"\r
-               visible="true">\r
-         </separator>\r
-         <menu\r
-               label="%commands.trace.select_trace_type"\r
-               mnemonic="%commands.trace.select_trace_type.mnemonic"\r
-               tooltip="%commands.trace.select_trace_type.description">\r
-            <dynamic\r
-                  class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem"\r
-                  id="org.eclipse.linuxtools.tmf.ui.command.project.trace.select_trace_type.dynamic">\r
-            </dynamic>\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <iterate\r
-                        ifEmpty="false"\r
-                        operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
-                     </instanceof>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </menu>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment_folder.new"\r
+               commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment"\r
                disabledIcon="icons/dtool16/new.gif"\r
                icon="icons/etool16/new.gif"\r
-               label="%commands.experiment_folder.new"\r
-               mnemonic="%commands.experiment_folder.new.mnemonic"\r
+               label="%command.new_experiment"\r
+               mnemonic="%command.new_experiment.mnemonic"\r
                style="push"\r
-               tooltip="%commands.trace.select_trace_type">\r
+               tooltip="%command.new_experiment.description">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                </with>\r
             </visibleWhen>\r
          </command>\r
-         <separator\r
-               name="org.eclipse.linuxtools.tmf.ui.separator4"\r
-               visible="true">\r
-         </separator>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment_folder.refresh"\r
-               disabledIcon="icons/dlcl16/refresh.gif"\r
-               icon="icons/elcl16/refresh.gif"\r
-               label="%commands.experiment_folder.refresh"\r
-               mnemonic="%commands.experiment_folder.refresh.mnemonic"\r
+               commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"\r
+               label="%command.delete_suppl_files"\r
+               mnemonic="%command.delete_suppl_files.mnemonic"\r
                style="push"\r
-               tooltip="%commands.experiment_folder.refresh.description">\r
+               tooltip="%command.delete_suppl_files.description">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                      variable="selection">\r
-                  <count\r
-                        value="1">\r
-                  </count>\r
-                  <iterate\r
-                        ifEmpty="false"\r
-                        operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder">\r
-                     </instanceof>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </command>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.select"\r
-               icon="IMG_OBJ_ADD"\r
-               label="%commands.experiment.selecttraces"\r
-               mnemonic="%commands.experiment.selecttraces.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.experiment.selecttraces.description">\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <count\r
-                        value="1">\r
-                  </count>\r
-                  <iterate\r
-                        ifEmpty="false"\r
-                        operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
-                     </instanceof>\r
-                  </iterate>\r
+                  <and>\r
+                     <count\r
+                           value="1">\r
+                     </count>\r
+                     <iterate\r
+                           ifEmpty="false"\r
+                           operator="and">\r
+                        <and>\r
+                           <or>\r
+                              <instanceof\r
+                                    value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                              </instanceof>\r
+                              <instanceof\r
+                                    value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                              </instanceof>\r
+                           </or>\r
+                           <test\r
+                                 forcePluginActivation="true"\r
+                                 property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles">\r
+                           </test>\r
+                        </and>\r
+                     </iterate>\r
+                  </and>\r
                </with>\r
             </visibleWhen>\r
          </command>\r
          <separator\r
-               name="org.eclipse.linuxtools.tmf.ui.separator5"\r
+               name="org.eclipse.linuxtools.tmf.ui.separator3"\r
                visible="true">\r
          </separator>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.open"\r
-               icon="icons/elcl16/open.gif"\r
-               label="%commands.experiment.open"\r
-               mnemonic="%commands.experiment.open.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.experiment.open.description">\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <count\r
-                        value="1">\r
-                  </count>\r
-                  <iterate\r
-                        ifEmpty="false"\r
-                        operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
-                     </instanceof>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </command>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.copy"\r
-               disabledIcon="IMG_TOOL_COPY_DISABLED"\r
-               icon="IMG_TOOL_COPY"\r
-               label="%commands.experiment.copy"\r
-               mnemonic="%commands.experiment.copy.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.experiment.copy.description">\r
+         <menu\r
+               label="%command.select_trace_type"\r
+               mnemonic="%command.select_trace_type.mnemonic"\r
+               tooltip="%command.select_trace_type.description">\r
+            <dynamic\r
+                  class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem"\r
+                  id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic">\r
+            </dynamic>\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                      variable="selection">\r
-                  <count\r
-                        value="1">\r
-                  </count>\r
                   <iterate\r
                         ifEmpty="false"\r
                         operator="and">\r
                      <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
                      </instanceof>\r
                   </iterate>\r
                </with>\r
             </visibleWhen>\r
-         </command>\r
+         </menu>\r
+         <separator\r
+               name="org.eclipse.linuxtools.tmf.ui.separator4"\r
+               visible="true">\r
+         </separator>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.rename"\r
-               icon="icons/elcl16/rename.gif"\r
-               label="%commands.experiment.rename"\r
-               mnemonic="%commands.experiment.rename.mnemonic"\r
+               commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces"\r
+               icon="IMG_OBJ_ADD"\r
+               label="%command.select_traces"\r
+               mnemonic="%command.select_traces.mnemonic"\r
                style="push"\r
-               tooltip="%commands.experiment.rename.description">\r
+               tooltip="%commands.select_traces.description">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                </with>\r
             </visibleWhen>\r
          </command>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.delete"\r
-               disabledIcon="IMG_ETOOL_DELETE_DISABLED"\r
-               icon="IMG_ETOOL_DELETE"\r
-               label="%commands.experiment.delete"\r
-               mnemonic="%commands.experiment.delete.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.experiment.delete.description">\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <iterate\r
-                        ifEmpty="false"\r
-                        operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
-                     </instanceof>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </command>\r
-         <separator\r
-               name="org.eclipse.linuxtools.tmf.ui.separator6"\r
-               visible="true">\r
-         </separator>\r
-         <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.deleteSupplementaryFiles"\r
-               label="%commands.experiment.deleteSupplementaryFiles"\r
-               mnemonic="%commands.experiment.deleteSupplementaryFiles.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.experiment.deleteSupplementaryFiles.description">\r
-            <visibleWhen\r
-                  checkEnabled="false">\r
-               <with\r
-                     variable="selection">\r
-                  <iterate\r
-                       ifEmpty="false"\r
-                       operator="and">\r
-                     <and>\r
-                        <instanceof\r
-                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
-                        </instanceof>\r
-                        <test\r
-                              forcePluginActivation="true"\r
-                              property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles">\r
-                        </test>\r
-                     </and>\r
-                  </iterate>\r
-               </with>\r
-            </visibleWhen>\r
-         </command>\r
          <separator\r
-               name="org.eclipse.linuxtools.tmf.ui.separator7"\r
+               name="org.eclipse.linuxtools.tmf.ui.separator5"\r
                visible="true">\r
          </separator>\r
          <command\r
-               commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.refresh"\r
-               disabledIcon="icons/dlcl16/refresh.gif"\r
-               icon="icons/elcl16/refresh.gif"\r
-               label="%commands.experiment.refresh"\r
-               mnemonic="%commands.experiment.refresh.mnemonic"\r
-               style="push"\r
-               tooltip="%commands.experiment.refresh.description">\r
+               commandId="org.eclipse.ui.file.refresh"\r
+               label="%command.refresh"\r
+               mnemonic="%command.refresh.mnemonic"\r
+               style="push">\r
             <visibleWhen\r
                   checkEnabled="false">\r
                <with\r
                   <iterate\r
                         ifEmpty="false"\r
                         operator="and">\r
-                     <instanceof\r
-                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
-                     </instanceof>\r
+                     <or>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">\r
+                        </instanceof>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder">\r
+                        </instanceof>\r
+                        <instanceof\r
+                              value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                        </instanceof>\r
+                     </or>\r
                   </iterate>\r
                </with>\r
             </visibleWhen>\r
    <extension\r
          point="org.eclipse.ui.commands">\r
       <category\r
-            description="%commands.trace_folder.category.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.commands.trace_folder.category"\r
-            name="%commands.trace_folder.category.name">\r
-      </category>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace_folder.category"\r
-            description="%commands.trace_folder.import.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.import"\r
-            name="%commands.trace_folder.import">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace_folder.category"\r
-            description="%commands.trace_folder.refresh.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.refresh"\r
-            name="%commands.trace_folder.refresh">\r
-      </command>\r
-      <category\r
-            description="%commands.trace.category.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            name="%commands.trace.category.name">\r
+            description="%commands.category.description"\r
+            id="org.eclipse.linuxtools.tmf.ui.commands.category"\r
+            name="%commands.category.name">\r
       </category>\r
       <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            description="%commands.trace.open.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.open"\r
-            name="%commands.trace.open">\r
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"\r
+            description="%command.new_experiment.description"\r
+            id="org.eclipse.linuxtools.tmf.ui.command.new_experiment"\r
+            name="%command.new_experiment">\r
       </command>\r
       <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            description="%commands.trace.copy.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.copy"\r
-            name="%commands.trace.copy">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            description="%commands.trace.rename.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.rename"\r
-            name="%commands.trace.rename">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            description="%commands.trace.deleteSupplementaryFiles.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.deleteSupplementaryFiles"\r
-            name="%commands.trace.deleteSupplementaryFiles">\r
-      </command>\r
-      <category\r
-            description="%commands.experiment_folder.category.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.commands.experiment_folder.category"\r
-            name="%commands.experiment_folder.category.name">\r
-      </category>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment_folder.category"\r
-            description="%commands.experiment_folder.new.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment_folder.new"\r
-            name="%commands.experiment_folder.new">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment_folder.category"\r
-            description="%commands.experiment_folder.refresh.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment_folder.refresh"\r
-            name="%commands.experiment_folder.refresh">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            description="%commands.trace.select_trace_type.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.select_trace_type"\r
-            name="%commands.trace.select_trace_type">\r
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"\r
+            description="%command.select_trace_type.description"\r
+            id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type"\r
+            name="%command.select_trace_type">\r
          <commandParameter\r
-               id="org.eclipse.linuxtools.tmf.ui.commandparameter.project.trace.select_trace_type.bundle"\r
+               id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.bundle"\r
                name="%commands.trace.select_trace_type.bundle"\r
                optional="false">\r
          </commandParameter>\r
          <commandParameter\r
-               id="org.eclipse.linuxtools.tmf.ui.commandparameter.project.trace.select_trace_type.type"\r
+               id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.type"\r
                name="%commands.trace.select_trace_type.type"\r
                optional="false">\r
          </commandParameter>\r
          <commandParameter\r
-               id="org.eclipse.linuxtools.tmf.ui.commandparameter.project.trace.select_trace_type.icon"\r
+               id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.icon"\r
                name="%commands.trace.select_trace_type.icon"\r
                optional="false">\r
          </commandParameter>\r
       </command>\r
       <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.trace.category"\r
-            description="%commands.trace.delete.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.trace.delete"\r
-            name="%commands.trace.delete">\r
-      </command>\r
-      <category\r
-            description="%commands.experiment.category.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            name="%commands.experiment.category.name">\r
-      </category>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.selecttraces.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.select"\r
-            name="%commands.experiment.selecttraces">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.open.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.open"\r
-            name="%commands.experiment.open">\r
-      </command>\r
-       <command\r
-             categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.copy.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.copy"\r
-            name="%commands.experiment.copy">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.rename.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.rename"\r
-            name="%commands.experiment.rename">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.delete.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.delete"\r
-            name="%commands.experiment.delete">\r
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"\r
+            id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"\r
+            name="%command.delete_suppl_files">\r
       </command>\r
       <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.deleteSupplementaryFiles.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.deleteSupplementaryFiles"\r
-            name="%commands.experiment.deleteSupplementaryFiles">\r
-      </command>\r
-      <command\r
-            categoryId="org.eclipse.linuxtools.tmf.ui.commands.experiment.category"\r
-            description="%commands.experiment.refresh.description"\r
-            id="org.eclipse.linuxtools.tmf.ui.command.project.experiment.refresh"\r
-            name="%commands.experiment.refresh">\r
+            categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"\r
+            description="%command.select_traces.description"\r
+            id="org.eclipse.linuxtools.tmf.ui.command.select_traces"\r
+            name="%command.select_traces">\r
       </command>\r
       <category\r
             description="%commands.parser.category.description"\r
             name="%commands.uml2sd.scrollright">\r
       </command>\r
    </extension>\r
-   <extension point="org.eclipse.ui.bindings">\r
-      <key\r
-            sequence="ALT+R"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>   \r
-      <key\r
-            sequence="SHIFT+ALT+END"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>   \r
-      <key\r
-            sequence="SHIFT+ALT+HOME"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>    \r
-      <key\r
-            sequence="SHIFT+ALT+ARROW_UP"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>  \r
-      <key\r
-            sequence="SHIFT+ALT+ARROW_DOWN"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>\r
-      <key\r
-            sequence="SHIFT+ALT+ARROW_LEFT"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>\r
-      <key\r
-            sequence="SHIFT+ALT+ARROW_RIGHT"\r
-            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
-      </key>\r
-   </extension>\r
    <extension\r
          point="org.eclipse.ui.handlers">\r
       <handler\r
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ImportTraceHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.import">\r
+            commandId="org.eclipse.ui.file.import">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.refresh">\r
+            commandId="org.eclipse.ui.file.refresh">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <or>\r
+                     <instanceof\r
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">\r
+                     </instanceof>\r
+                     <instanceof\r
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder">\r
+                     </instanceof>\r
+                     <instanceof\r
+                           value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                     </instanceof>\r
+                  </or>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenTraceHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.open">\r
-      </handler>\r
-      <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.copy">\r
-      </handler>\r
-      <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameTraceHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.rename">\r
+            commandId="org.eclipse.ui.navigate.openResource">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.delete">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler"\r
+            commandId="org.eclipse.ui.navigate.openResource">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.deleteSupplementaryFiles">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler"\r
+            commandId="org.eclipse.ui.edit.copy">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.trace.select_trace_type">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyExperimentHandler"\r
+            commandId="org.eclipse.ui.edit.copy">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment_folder.new">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameTraceHandler"\r
+            commandId="org.eclipse.ui.edit.rename">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment_folder.refresh">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameExperimentHandler"\r
+            commandId="org.eclipse.ui.edit.rename">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTracesHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.select">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler"\r
+            commandId="org.eclipse.ui.edit.delete">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.open">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler"\r
+            commandId="org.eclipse.ui.edit.delete">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyExperimentHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.copy">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameExperimentHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.rename">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.delete">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.deleteSupplementaryFiles">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.command.select_trace_type">\r
+         <activeWhen>\r
+            <and>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler"\r
-            commandId="org.eclipse.linuxtools.tmf.ui.command.project.experiment.refresh">\r
+            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTracesHandler"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces">\r
+         <activeWhen>\r
+            <and>\r
+               <count\r
+                     value="1">\r
+               </count>\r
+               <iterate>\r
+                  <instanceof\r
+                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">\r
+                  </instanceof>\r
+               </iterate>\r
+            </and>\r
+         </activeWhen>\r
       </handler>\r
       <handler\r
             class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler"\r
          </activeWhen>\r
       </handler>\r
    </extension>\r
+   <extension point="org.eclipse.ui.bindings">\r
+      <key\r
+            sequence="ALT+R"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>   \r
+      <key\r
+            sequence="SHIFT+ALT+END"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>   \r
+      <key\r
+            sequence="SHIFT+ALT+HOME"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>    \r
+      <key\r
+            sequence="SHIFT+ALT+ARROW_UP"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>  \r
+      <key\r
+            sequence="SHIFT+ALT+ARROW_DOWN"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>\r
+      <key\r
+            sequence="SHIFT+ALT+ARROW_LEFT"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>\r
+      <key\r
+            sequence="SHIFT+ALT+ARROW_RIGHT"\r
+            contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context"\r
+            commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">\r
+      </key>\r
+   </extension>\r
    <extension\r
          point="org.eclipse.core.contenttype.contentTypes">\r
       <content-type\r
This page took 0.037282 seconds and 5 git commands to generate.