-<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>
+ </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>