]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.debug.ui/plugin.xml
An action to show a pgraph for resources in ontologies
[simantics/platform.git] / bundles / org.simantics.debug.ui / plugin.xml
index 3bf794e3f9eb5a85efe213cf28ce2f1ceacf510e..abceb0952ea63ebaf17abad361e0ca8fa2c97c24 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?eclipse version="3.2"?>\r<!--\r
-    Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
-    in Industry THTH ry.\r
-    All rights reserved. This program and the accompanying materials\r
-    are made available under the terms of the Eclipse Public License v1.0\r
-    which accompanies this distribution, and is available at\r
-    http://www.eclipse.org/legal/epl-v10.html\r
-   \r
-    Contributors:\r
-        VTT Technical Research Centre of Finland - initial API and implementation\r
- -->\r
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>\r<!--
+    Copyright (c) 2007, 2010 Association for Decentralized Information Management
+    in Industry THTH ry.
+    All rights reserved. This program and the accompanying materials
+    are made available under the terms of the Eclipse Public License v1.0
+    which accompanies this distribution, and is available at
+    http://www.eclipse.org/legal/epl-v10.html
+   
+    Contributors:
+        VTT Technical Research Centre of Finland - initial API and implementation
+ -->
 
-<plugin>\r
-\r
-   <extension\r
-         point="org.eclipse.ui.views">\r
-      <category\r
-            id="org.simantics.debug.ui"\r
-            name="Debug">\r
-      </category>\r
-\r
-      <view\r
-            allowMultiple="true"\r
-            category="org.simantics.debug.ui"\r
-            class="org.simantics.debug.ui.GraphDebuggerView"\r
-            icon="icons/bug.png"\r
-            id="org.simantics.debug.graphDebugger"\r
-            name="Graph Debugger"/>\r
-      <view\r
-            allowMultiple="true"\r
-            category="org.simantics.debug.ui"\r
-            class="org.simantics.debug.ui.VariableDebuggerView"\r
-            icon="icons/bug.png"\r
-            id="org.simantics.debug.variableDebugger"\r
-            name="Variable Debugger"/>\r
-      <view\r
-            allowMultiple="false"\r
-            category="org.simantics.debug.ui"\r
-            class="org.simantics.debug.ui.SessionDebuggerView"\r
-            icon="icons/bug.png"\r
-            id="org.simantics.debug.sessionDebugger"\r
-            name="Session Debugger"/>\r
-      <view\r
-            allowMultiple="true"\r
-            category="org.simantics.debug.ui"\r
-            class="org.simantics.debug.ui.graph.GraphicalDebuggerView"\r
-            icon="icons/bug.png"\r
-            id="org.simantics.debug.graphicalDebugger"\r
-            name="Graphical Debugger"\r
-            restorable="true">\r
-      </view>\r
-   </extension>\r
-   \r
-   <extension\r
-         point="org.eclipse.ui.editors">\r
-      <editor\r
-            class="org.simantics.debug.ui.GraphDebuggerEditor"\r
-            icon="icons/bug.png"\r
-            id="org.simantics.debug.graphDebuggerEditor"\r
-            matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"\r
-            name="Graph Debugger">\r
-      </editor>\r
-      <editor\r
-            class="org.simantics.debug.ui.graph.GraphicalDebuggerEditor"\r
-            default="false"\r
-            icon="icons/bug.png"\r
-            id="org.simantics.debug.graphicalDebuggerEditor"\r
-            matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"\r
-            name="Graphical Debugger">\r
-      </editor>\r
-   </extension>\r
-\r
-   <extension\r
-         point="org.simantics.ui.resourceEditorAdapter">\r
-      <adapterClass\r
-            class="org.simantics.debug.ui.internal.GraphDebuggerEditorAdapter"\r
-            id="org.simantics.debug.adapter"\r
-            priority="-1">\r
-      </adapterClass>\r
-      <adapterClass\r
-            class="org.simantics.debug.ui.internal.GraphicalDebuggerEditorAdapter"\r
-            id="org.simantics.debug.adapter2"\r
-            priority="-1">\r
-      </adapterClass>\r
-   </extension>\r
-\r
-   <extension\r
-         point="org.eclipse.ui.handlers">\r
-      <!-- Tuukka removed this to keep people from getting their workbench stuck when they accidentally press C-S-r -->\r
-      <handler\r
-            class="org.simantics.debug.ui.internal.SearchResourceHandler"\r
-            commandId="org.eclipse.ui.navigate.openResource">\r
-         <activeWhen>\r
-         <with \r
-            variable="selection"> \r
-         <iterate \r
-               operator="or" ifEmpty="true"> \r
-         </iterate> \r
-      </with> \r
-         </activeWhen>\r
-      </handler>\r
-   </extension>\r
-\r
-</plugin>\r
+<plugin>
+
+   <extension
+         point="org.eclipse.ui.views">
+      <category
+            id="org.simantics.debug.ui"
+            name="Debug">
+      </category>
+
+      <view
+            allowMultiple="true"
+            category="org.simantics.debug.ui"
+            class="org.simantics.debug.ui.GraphDebuggerView"
+            icon="icons/bug.png"
+            id="org.simantics.debug.graphDebugger"
+            name="Graph Debugger"/>
+      <view
+            allowMultiple="true"
+            category="org.simantics.debug.ui"
+            class="org.simantics.debug.ui.VariableDebuggerView"
+            icon="icons/bug.png"
+            id="org.simantics.debug.variableDebugger"
+            name="Variable Debugger"/>
+      <view
+            allowMultiple="false"
+            category="org.simantics.debug.ui"
+            class="org.simantics.debug.ui.SessionDebuggerView"
+            icon="icons/bug.png"
+            id="org.simantics.debug.sessionDebugger"
+            name="Session Debugger"/>
+      <view
+            allowMultiple="true"
+            category="org.simantics.debug.ui"
+            class="org.simantics.debug.ui.graph.GraphicalDebuggerView"
+            icon="icons/bug.png"
+            id="org.simantics.debug.graphicalDebugger"
+            name="Graphical Debugger"
+            restorable="true">
+      </view>
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            class="org.simantics.debug.ui.GraphDebuggerEditor"
+            icon="icons/bug.png"
+            id="org.simantics.debug.graphDebuggerEditor"
+            matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
+            name="Graph Debugger">
+      </editor>
+      <editor
+            class="org.simantics.debug.ui.graph.GraphicalDebuggerEditor"
+            default="false"
+            icon="icons/bug.png"
+            id="org.simantics.debug.graphicalDebuggerEditor"
+            matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
+            name="Graphical Debugger">
+      </editor>
+   </extension>
+
+   <extension
+         point="org.simantics.ui.resourceEditorAdapter">
+      <adapterClass
+            class="org.simantics.debug.ui.internal.GraphDebuggerEditorAdapter"
+            id="org.simantics.debug.adapter"
+            priority="-1">
+      </adapterClass>
+      <adapterClass
+            class="org.simantics.debug.ui.internal.GraphicalDebuggerEditorAdapter"
+            id="org.simantics.debug.adapter2"
+            priority="-1">
+      </adapterClass>
+      <adapterClass
+            class="org.simantics.debug.ui.internal.TGEditorAdapter"
+            id="org.simantics.debug.adapter3"
+            priority="-1">
+      </adapterClass>
+   </extension>
+
+   <extension
+         point="org.eclipse.ui.handlers">
+      <!-- Tuukka removed this to keep people from getting their workbench stuck when they accidentally press C-S-r -->
+      <handler
+            class="org.simantics.debug.ui.internal.SearchResourceHandler"
+            commandId="org.eclipse.ui.navigate.openResource">
+         <activeWhen>
+         <with 
+            variable="selection"> 
+         <iterate 
+               operator="or" ifEmpty="true"> 
+         </iterate> 
+      </with> 
+         </activeWhen>
+      </handler>
+   </extension>
+
+</plugin>