]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.debug.ui/plugin.xml
Merge "Add hashcodes from URI's as id if no component is found for SVG print"
[simantics/platform.git] / bundles / org.simantics.debug.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>\r<!--
3     Copyright (c) 2007, 2010 Association for Decentralized Information Management
4     in Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <plugin>
15
16    <extension
17          point="org.eclipse.ui.views">
18       <category
19             id="org.simantics.debug.ui"
20             name="Debug">
21       </category>
22
23       <view
24             allowMultiple="true"
25             category="org.simantics.debug.ui"
26             class="org.simantics.debug.ui.GraphDebuggerView"
27             icon="icons/bug.png"
28             id="org.simantics.debug.graphDebugger"
29             name="Graph Debugger"/>
30       <view
31             allowMultiple="true"
32             category="org.simantics.debug.ui"
33             class="org.simantics.debug.ui.VariableDebuggerView"
34             icon="icons/bug.png"
35             id="org.simantics.debug.variableDebugger"
36             name="Variable Debugger"/>
37       <view
38             allowMultiple="false"
39             category="org.simantics.debug.ui"
40             class="org.simantics.debug.ui.SessionDebuggerView"
41             icon="icons/bug.png"
42             id="org.simantics.debug.sessionDebugger"
43             name="Session Debugger"/>
44       <view
45             allowMultiple="true"
46             category="org.simantics.debug.ui"
47             class="org.simantics.debug.ui.graph.GraphicalDebuggerView"
48             icon="icons/bug.png"
49             id="org.simantics.debug.graphicalDebugger"
50             name="Graphical Debugger"
51             restorable="true">
52       </view>
53    </extension>
54    
55    <extension
56          point="org.eclipse.ui.editors">
57       <editor
58             class="org.simantics.debug.ui.GraphDebuggerEditor"
59             icon="icons/bug.png"
60             id="org.simantics.debug.graphDebuggerEditor"
61             matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
62             name="Graph Debugger">
63       </editor>
64       <editor
65             class="org.simantics.debug.ui.graph.GraphicalDebuggerEditor"
66             default="false"
67             icon="icons/bug.png"
68             id="org.simantics.debug.graphicalDebuggerEditor"
69             matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
70             name="Graphical Debugger">
71       </editor>
72    </extension>
73
74    <extension
75          point="org.simantics.ui.resourceEditorAdapter">
76       <adapterClass
77             class="org.simantics.debug.ui.internal.GraphDebuggerEditorAdapter"
78             id="org.simantics.debug.adapter"
79             priority="-1">
80       </adapterClass>
81       <adapterClass
82             class="org.simantics.debug.ui.internal.GraphicalDebuggerEditorAdapter"
83             id="org.simantics.debug.adapter2"
84             priority="-1">
85       </adapterClass>
86       <adapterClass
87             class="org.simantics.debug.ui.internal.TGEditorAdapter"
88             id="org.simantics.debug.adapter3"
89             priority="-1">
90       </adapterClass>
91    </extension>
92
93    <extension
94          point="org.eclipse.ui.handlers">
95       <!-- Tuukka removed this to keep people from getting their workbench stuck when they accidentally press C-S-r -->
96       <handler
97             class="org.simantics.debug.ui.internal.SearchResourceHandler"
98             commandId="org.eclipse.ui.navigate.openResource">
99          <activeWhen>
100          <with 
101             variable="selection"> 
102          <iterate 
103                operator="or" ifEmpty="true"> 
104          </iterate> 
105       </with> 
106          </activeWhen>
107       </handler>
108    </extension>
109
110 </plugin>