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