1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
\r<!--
3 Copyright (c) 2007, 2010 Association for Decentralized Information Management
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
11 VTT Technical Research Centre of Finland - initial API and implementation
16 point="org.eclipse.ui.views">
18 id="org.simantics.scenegraph.category"
24 category="org.simantics.scenegraph.category"
25 class="org.simantics.scenegraph.eclipse.FlashRemoteView"
26 id="org.simantics.scenegraph.view0"
27 name="SceneGraph Remote View for Flash"
32 category="org.simantics.scenegraph.category"
33 class="org.simantics.scenegraph.eclipse.G2DRemoteView"
34 id="org.simantics.scenegraph.view1"
35 name="SceneGraph Remote View"
40 category="org.simantics.scenegraph.category"
41 class="org.simantics.scenegraph.eclipse.G2DLocalView"
42 id="org.simantics.scenegraph.view2"
43 name="SceneGraph Local View"
48 category="org.simantics.scenegraph.category"
49 class="org.simantics.scenegraph.ui.SceneGraphViewPart"
50 icon="icons/image.png"
51 id="org.simantics.scenegraph.viewer"
55 This view part is meant for viewing the scene graph of the active workbench editor for debugging purposes.
60 point="org.eclipse.ui.themes">
62 id="org.simantics.scenegraph"
64 </themeElementCategory>
66 <extension point="org.eclipse.core.expressions.definitions">
67 <definition id="org.simantics.scenegraph.viewer.active">
68 <with variable="activeContexts">
69 <iterate operator="or">
70 <equals value="org.simantics.scenegraph.viewer"/>
76 point="org.eclipse.ui.commands">
78 id="org.simantics.scenegraph.ui"
79 name="Scene Graph UI Commands">
82 categoryId="org.simantics.scenegraph.ui"
83 id="org.simantics.scenegraph.expandNode"
87 categoryId="org.simantics.scenegraph.ui"
88 id="org.simantics.scenegraph.collapseAll"
92 categoryId="org.simantics.scenegraph.ui"
93 description="A toggle for linking the active editor selection to the current scene graph viewer selection."
94 id="org.simantics.scenegraph.linkToActiveWorkbenchPart"
95 name="linkToSelection">
97 class="org.eclipse.jface.commands.ToggleState"
98 id="org.simantics.scenegraph.linkToActiveWorkbenchPart.state">
103 point="org.eclipse.ui.handlers">
105 class="org.simantics.scenegraph.ui.RefreshHandler"
106 commandId="org.eclipse.ui.file.refresh">
109 definitionId="org.simantics.scenegraph.viewer.active">
114 class="org.simantics.scenegraph.ui.CopyHandler"
115 commandId="org.eclipse.ui.edit.copy">
118 definitionId="org.simantics.scenegraph.viewer.active">
123 class="org.simantics.scenegraph.ui.CollapseAllHandler"
124 commandId="org.simantics.scenegraph.collapseAll">
127 class="org.simantics.scenegraph.ui.ExpandNodeHandler"
128 commandId="org.simantics.scenegraph.expandNode">
131 class="org.simantics.scenegraph.ui.LinkToActiveWorkbenchPartHandler"
132 commandId="org.simantics.scenegraph.linkToActiveWorkbenchPart">
136 point="org.eclipse.ui.contexts">
138 description="This context is active while the scene graph viewer is active."
139 id="org.simantics.scenegraph.viewer"
140 name="Scene Graph Viewer Context"
141 parentId="org.eclipse.ui.contexts.dialogAndWindow">
145 point="org.eclipse.ui.menus">
147 locationURI="toolbar:org.simantics.scenegraph.viewer">
149 commandId="org.simantics.scenegraph.collapseAll"
150 icon="icons/collapseall.gif"
153 tooltip="Collapse All">
156 commandId="org.simantics.scenegraph.expandNode"
157 icon="icons/expandall.gif"
160 tooltip="Expand All Under Selected Node">
163 commandId="org.eclipse.ui.file.refresh"
164 icon="icons/reload.png"
167 tooltip="Reload Scene Graph">
170 commandId="org.simantics.scenegraph.linkToActiveWorkbenchPart"
171 icon="icons/synced.gif"
172 label="Link With Active Workbench Part"
174 tooltip="Link With Active Workbench Part">
179 point="org.eclipse.ui.bindings">
181 commandId="org.simantics.scenegraph.collapseAll"
182 contextId="org.simantics.scenegraph.viewer"
183 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
187 commandId="org.simantics.scenegraph.expandNode"
188 contextId="org.simantics.scenegraph.viewer"
189 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"