Added some more JUnit tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / plugin.xml
index 06673b6ca7cf52fad061497e1fe5e4adc9e663f6..5006e74a053f5489b35dd89999b77402b9fb7a7b 100644 (file)
             id="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect"
             name="%commands.control.disconnect">
       </command>
+      <command
+            categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
+            description="%commands.control.refresh.description"
+            id="org.eclipse.linuxtools.lttng.ui.commands.control.refresh"
+            name="%commands.control.refresh">
+      </command>
       <command
             categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
             description="%commands.control.delete.description"
                label="%commands.control.disconnect"
                style="push">
          </command>
+         <command
+               commandId="org.eclipse.linuxtools.lttng.ui.commands.control.refresh"
+               icon="icons/elcl16/refresh.gif"
+               label="%commands.control.refresh"
+               style="push">
+         </command>
          <command
                commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
                icon="icons/elcl16/target_delete.gif"
                </with>
             </visibleWhen>
          </command>
+         <command
+               commandId="org.eclipse.linuxtools.lttng.ui.commands.control.refresh"
+               icon="icons/elcl16/refresh.gif"
+               label="%commands.control.refresh"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <with
+                     variable="activeMenuSelection">
+                  <iterate
+                        operator="or">
+                     <instanceof
+                           value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceControlComponent">
+                     </instanceof>
+                  </iterate>
+               </with>
+            </visibleWhen>
+         </command>
          <command
                commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
                icon="icons/elcl16/target_delete.gif"
             </with>
          </activeWhen>
       </handler>
+      <handler
+            class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.RefreshHandler"
+            commandId="org.eclipse.linuxtools.lttng.ui.commands.control.refresh">
+         <activeWhen>
+            <with
+                  variable="selection">
+               <iterate
+                     operator="or">
+                  <instanceof
+                        value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceControlComponent">
+                  </instanceof>
+               </iterate>
+            </with>
+         </activeWhen>
+      </handler>
       <handler
             class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DeleteHandler"
             commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete">
This page took 0.03253 seconds and 5 git commands to generate.