Implement simultaneously opened traces in TMF
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / plugin.xml
index 09e0b5a7e7a3fe053453f1da15ad46b3d48658ec..7007958fef6034b841708702e8ff3cede6942873 100644 (file)
             id="org.eclipse.linuxtools.tmf.ui.views.category"
             name="%views.category.name">
       </category>
-      <view
-            allowMultiple="false"
-            category="org.eclipse.linuxtools.tmf.ui.views.category"
-            class="org.eclipse.linuxtools.tmf.ui.views.events.TmfEventsView"
-            icon="icons/eview16/events_view.gif"
-            id="org.eclipse.linuxtools.tmf.ui.views.events"
-            name="%events.view.name"
-            restorable="true">
-      </view>
       <view
             category="org.eclipse.linuxtools.tmf.ui.views.category"
             class="org.eclipse.linuxtools.tmf.ui.views.timechart.TimeChartView"
                contentTypeId="org.eclipse.linuxtools.tmf.ui.content-type.trace">
          </contentTypeBinding>
       </editor>
-      <editor
-            class="org.eclipse.linuxtools.tmf.ui.editors.EventsViewEditor"
-            default="false"
-            icon="icons/eview16/events_view.gif"
-            id="org.eclipse.linuxtools.tmf.ui.editors.eventsView"
-            name="%eventsview.editor.name">
-         <contentTypeBinding
-               contentTypeId="org.eclipse.linuxtools.tmf.ui.content-type.trace">
-         </contentTypeBinding>
-      </editor>
    </extension>
    <extension
          point="org.eclipse.ui.newWizards">
                style="push">
          </command>
       </menuContribution>
-      <menuContribution
-            allPopups="false"
-            locationURI="toolbar:org.eclipse.ui.navigator.ProjectExplorer">
-         <command
-               commandId="org.eclipse.linuxtools.tmf.ui.command.clear_views"
-               icon="icons/etool16/clear.gif"
-               label="%command.clear_views"
-               mnemonic="%command.clear_views.mnemonic"
-               style="push">
-            <visibleWhen
-                  checkEnabled="false">
-               <with
-                     variable="selection">
-                  <count
-                        value="1">
-                  </count>
-                  <iterate
-                        ifEmpty="false"
-                        operator="and">
-                     <or>
-                        <and>
-                           <instanceof
-                                 value="org.eclipse.core.resources.IProject">
-                           </instanceof>
-                           <test
-                                 property="org.eclipse.core.resources.projectNature"
-                                 value="org.eclipse.linuxtools.tmf.project.nature">
-                           </test>
-                        </and>
-                        <instanceof
-                              value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement">
-                        </instanceof>
-                     </or>
-                  </iterate>
-               </with>
-            </visibleWhen>
-         </command>
-      </menuContribution>
       <menuContribution
             locationURI="popup:org.eclipse.ui.popup.any?after=additions">
          <command
          </command>
          <command
                commandId="org.eclipse.ui.edit.copy"
+               disabledIcon="icons/dtool16/copy_edit.gif"
+               icon="icons/etool16/copy_edit.gif"
                label="%command.copy"
                mnemonic="%command.copy.mnemonic"
                style="push">
          </command>
          <command
                commandId="org.eclipse.ui.edit.delete"
+               disabledIcon="icons/dtool16/delete.gif"
+               icon="icons/etool16/delete.gif"
                label="%command.delete"
                mnemonic="%command.delete.mnemonic"
                style="push">
          </command>
          <command
                commandId="org.eclipse.ui.edit.delete"
+               disabledIcon="icons/dtool16/delete.gif"
+               icon="icons/etool16/delete.gif"
                label="%command.remove"
                mnemonic="%command.remove.mnemonic"
                style="push">
          </separator>
          <command
                commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces"
-               icon="IMG_OBJ_ADD"
+               icon="icons/obj16/add_obj.gif"
                label="%command.select_traces"
                mnemonic="%command.select_traces.mnemonic"
                style="push"
                </with>
             </visibleWhen>
          </command>
-         <command
-               commandId="org.eclipse.linuxtools.tmf.ui.command.clear_views"
-               icon="icons/etool16/clear.gif"
-               label="%command.clear_views"
-               mnemonic="%command.clear_views.mnemonic"
-               style="push">
-            <visibleWhen
-                  checkEnabled="false">
-               <with
-                     variable="selection">
-                  <count
-                        value="1">
-                  </count>
-                  <iterate
-                        ifEmpty="false"
-                        operator="and">
-                     <and>
-                        <instanceof
-                              value="org.eclipse.core.resources.IProject">
-                        </instanceof>
-                        <test
-                              property="org.eclipse.core.resources.projectNature"
-                              value="org.eclipse.linuxtools.tmf.project.nature">
-                        </test>
-                     </and>
-                  </iterate>
-               </with>
-            </visibleWhen>
-         </command>
       </menuContribution>
    </extension>
    <extension
             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.clear_views.description"
-            id="org.eclipse.linuxtools.tmf.ui.command.clear_views"
-            name="%command.clear_views">
-      </command>
       <category
             description="%commands.parser.category.description"
             id="org.eclipse.linuxtools.tmf.ui.commands.parser.category"
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     ifEmpty="false"
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     ifEmpty="false"
+                     operator="and">
                   <or>
                      <instanceof
                            value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder">
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                   </instanceof>
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler"
             commandId="org.eclipse.ui.edit.delete">
          <activeWhen>
-            <and>
-               <iterate>
-                  <instanceof
-                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
-                  </instanceof>
-               </iterate>
-            </and>
+            <iterate
+                  ifEmpty="false"
+                  operator="and">
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+               </instanceof>
+            </iterate>
          </activeWhen>
       </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler"
             commandId="org.eclipse.ui.edit.delete">
          <activeWhen>
-            <and>
-               <iterate>
-                  <instanceof
-                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
-                  </instanceof>
-               </iterate>
-            </and>
+            <iterate
+                  ifEmpty="false"
+                  operator="and">
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
+               </instanceof>
+            </iterate>
          </activeWhen>
       </handler>
       <handler
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                   </instanceof>
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder">
                   </instanceof>
             class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler"
             commandId="org.eclipse.linuxtools.tmf.ui.command.select_trace_type">
          <activeWhen>
-            <and>
-               <iterate>
-                  <instanceof
-                        value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
-                  </instanceof>
-               </iterate>
-            </and>
+            <iterate
+                  ifEmpty="false"
+                  operator="and">
+               <instanceof
+                     value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
+               </instanceof>
+            </iterate>
          </activeWhen>
       </handler>
       <handler
                <count
                      value="1">
                </count>
-               <iterate>
+               <iterate
+                     operator="and">
                   <instanceof
                         value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement">
                   </instanceof>
             </and>
          </activeWhen>
       </handler>
-      <handler
-            class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ClearViewsHandler"
-            commandId="org.eclipse.linuxtools.tmf.ui.command.clear_views">
-      </handler>
       <handler
             class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler"
             commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers">
             id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage"
             name="%preference.page.uml2sd.name">
       </page>
+      <page
+            category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences"
+            class="org.eclipse.linuxtools.tmf.ui.properties.TmfTimestampFormatPage"
+            id="org.eclipse.linuxtools.tmf.ui.preferences.timestamp.format"
+            name="%preferences.page.timestamp.format">
+      </page>
    </extension>
    <extension
          point="org.eclipse.linuxtools.tmf.ui.uml2SDLoader">
This page took 0.033339 seconds and 5 git commands to generate.