]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph.ui/plugin.xml
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scenegraph.ui / plugin.xml
index c55edee0865c4f2426c3103a54610bb6cb994839..8275be9f11c4895c2ca14877fde185cce4ef1303 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?eclipse version="3.4"?>\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.4"?>\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
-   <extension\r
-         point="org.eclipse.ui.views">\r
-      <category\r
-            id="org.simantics.scenegraph.category"\r
-            name="Scene Graph">\r
-      </category>\r
-      <!--\r
-      <view\r
-            allowMultiple="false"\r
-            category="org.simantics.scenegraph.category"\r
-            class="org.simantics.scenegraph.eclipse.FlashRemoteView"\r
-            id="org.simantics.scenegraph.view0"\r
-            name="SceneGraph Remote View for Flash"\r
-            restorable="true">\r
-      </view>\r
-      <view\r
-            allowMultiple="false"\r
-            category="org.simantics.scenegraph.category"\r
-            class="org.simantics.scenegraph.eclipse.G2DRemoteView"\r
-            id="org.simantics.scenegraph.view1"\r
-            name="SceneGraph Remote View"\r
-            restorable="true">\r
-      </view>\r
-      <view\r
-            allowMultiple="false"\r
-            category="org.simantics.scenegraph.category"\r
-            class="org.simantics.scenegraph.eclipse.G2DLocalView"\r
-            id="org.simantics.scenegraph.view2"\r
-            name="SceneGraph Local View"\r
-            restorable="true">\r
-      </view>\r
-      -->\r
-      <view\r
-            category="org.simantics.scenegraph.category"\r
-            class="org.simantics.scenegraph.ui.SceneGraphViewPart"\r
-            icon="icons/image.png"\r
-            id="org.simantics.scenegraph.viewer"\r
-            name="Scene Graph"\r
-            restorable="true">\r
-         <description>\r
-            This view part is meant for viewing the scene graph of the active workbench editor for debugging purposes.\r
-         </description>\r
-      </view>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.themes">\r
-      <themeElementCategory\r
-            id="org.simantics.scenegraph"\r
-            label="Scene Graph">\r
-      </themeElementCategory>\r
-   </extension>\r
-   <extension point="org.eclipse.core.expressions.definitions">\r
-      <definition id="org.simantics.scenegraph.viewer.active">\r
-         <with variable="activeContexts">\r
-            <iterate operator="or">\r
-               <equals value="org.simantics.scenegraph.viewer"/>\r
-            </iterate>\r
-         </with>\r
-      </definition>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.commands">\r
-      <category\r
-            id="org.simantics.scenegraph.ui"\r
-            name="Scene Graph UI Commands">\r
-      </category>\r
-      <command\r
-            categoryId="org.simantics.scenegraph.ui"\r
-            id="org.simantics.scenegraph.expandNode"\r
-            name="expandNode">\r
-      </command>\r
-      <command\r
-            categoryId="org.simantics.scenegraph.ui"\r
-            id="org.simantics.scenegraph.collapseAll"\r
-            name="collapseAll">\r
-      </command>\r
-      <command\r
-            categoryId="org.simantics.scenegraph.ui"\r
-            description="A toggle for linking the active editor selection to the current scene graph viewer selection."\r
-            id="org.simantics.scenegraph.linkToActiveWorkbenchPart"\r
-            name="linkToSelection">\r
-         <state\r
-               class="org.eclipse.jface.commands.ToggleState"\r
-               id="org.simantics.scenegraph.linkToActiveWorkbenchPart.state">\r
-         </state>\r
-      </command>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.handlers">\r
-      <handler\r
-            class="org.simantics.scenegraph.ui.RefreshHandler"\r
-            commandId="org.eclipse.ui.file.refresh">\r
-         <activeWhen>\r
-            <reference\r
-                  definitionId="org.simantics.scenegraph.viewer.active">\r
-            </reference>\r
-         </activeWhen>\r
-      </handler>\r
-      <handler\r
-            class="org.simantics.scenegraph.ui.CopyHandler"\r
-            commandId="org.eclipse.ui.edit.copy">\r
-         <activeWhen>\r
-            <reference\r
-                  definitionId="org.simantics.scenegraph.viewer.active">\r
-            </reference>\r
-         </activeWhen>\r
-      </handler>\r
-      <handler\r
-            class="org.simantics.scenegraph.ui.CollapseAllHandler"\r
-            commandId="org.simantics.scenegraph.collapseAll">\r
-      </handler>\r
-      <handler\r
-            class="org.simantics.scenegraph.ui.ExpandNodeHandler"\r
-            commandId="org.simantics.scenegraph.expandNode">\r
-      </handler>\r
-      <handler\r
-            class="org.simantics.scenegraph.ui.LinkToActiveWorkbenchPartHandler"\r
-            commandId="org.simantics.scenegraph.linkToActiveWorkbenchPart">\r
-      </handler>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.contexts">\r
-      <context\r
-            description="This context is active while the scene graph viewer is active."\r
-            id="org.simantics.scenegraph.viewer"\r
-            name="Scene Graph Viewer Context"\r
-            parentId="org.eclipse.ui.contexts.dialogAndWindow">\r
-      </context>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.menus">\r
-      <menuContribution\r
-            locationURI="toolbar:org.simantics.scenegraph.viewer">\r
-         <command\r
-               commandId="org.simantics.scenegraph.collapseAll"\r
-               icon="icons/collapseall.gif"\r
-               label="Collapse All"\r
-               style="push"\r
-               tooltip="Collapse All">\r
-         </command>\r
-         <command\r
-               commandId="org.simantics.scenegraph.expandNode"\r
-               icon="icons/expandall.gif"\r
-               label="Expand All"\r
-               style="push"\r
-               tooltip="Expand All Under Selected Node">\r
-         </command>\r
-         <command\r
-               commandId="org.eclipse.ui.file.refresh"\r
-               icon="icons/reload.png"\r
-               label="Reload"\r
-               style="push"\r
-               tooltip="Reload Scene Graph">\r
-         </command>\r
-         <command\r
-               commandId="org.simantics.scenegraph.linkToActiveWorkbenchPart"\r
-               icon="icons/synced.gif"\r
-               label="Link With Active Workbench Part"\r
-               style="toggle"\r
-               tooltip="Link With Active Workbench Part">\r
-         </command>\r
-      </menuContribution>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.ui.bindings">\r
-      <key\r
-            commandId="org.simantics.scenegraph.collapseAll"\r
-            contextId="org.simantics.scenegraph.viewer"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"\r
-            sequence="Ctrl+-">\r
-      </key>\r
-      <key\r
-            commandId="org.simantics.scenegraph.expandNode"\r
-            contextId="org.simantics.scenegraph.viewer"\r
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"\r
-            sequence="Ctrl++">\r
-      </key>\r
-   </extension>\r
-\r
-</plugin>\r
+<plugin>
+   <extension
+         point="org.eclipse.ui.views">
+      <category
+            id="org.simantics.scenegraph.category"
+            name="Scene Graph">
+      </category>
+      <!--
+      <view
+            allowMultiple="false"
+            category="org.simantics.scenegraph.category"
+            class="org.simantics.scenegraph.eclipse.FlashRemoteView"
+            id="org.simantics.scenegraph.view0"
+            name="SceneGraph Remote View for Flash"
+            restorable="true">
+      </view>
+      <view
+            allowMultiple="false"
+            category="org.simantics.scenegraph.category"
+            class="org.simantics.scenegraph.eclipse.G2DRemoteView"
+            id="org.simantics.scenegraph.view1"
+            name="SceneGraph Remote View"
+            restorable="true">
+      </view>
+      <view
+            allowMultiple="false"
+            category="org.simantics.scenegraph.category"
+            class="org.simantics.scenegraph.eclipse.G2DLocalView"
+            id="org.simantics.scenegraph.view2"
+            name="SceneGraph Local View"
+            restorable="true">
+      </view>
+      -->
+      <view
+            category="org.simantics.scenegraph.category"
+            class="org.simantics.scenegraph.ui.SceneGraphViewPart"
+            icon="icons/image.png"
+            id="org.simantics.scenegraph.viewer"
+            name="Scene Graph"
+            restorable="true">
+         <description>
+            This view part is meant for viewing the scene graph of the active workbench editor for debugging purposes.
+         </description>
+      </view>
+   </extension>
+   <extension
+         point="org.eclipse.ui.themes">
+      <themeElementCategory
+            id="org.simantics.scenegraph"
+            label="Scene Graph">
+      </themeElementCategory>
+   </extension>
+   <extension point="org.eclipse.core.expressions.definitions">
+      <definition id="org.simantics.scenegraph.viewer.active">
+         <with variable="activeContexts">
+            <iterate operator="or">
+               <equals value="org.simantics.scenegraph.viewer"/>
+            </iterate>
+         </with>
+      </definition>
+   </extension>
+   <extension
+         point="org.eclipse.ui.commands">
+      <category
+            id="org.simantics.scenegraph.ui"
+            name="Scene Graph UI Commands">
+      </category>
+      <command
+            categoryId="org.simantics.scenegraph.ui"
+            id="org.simantics.scenegraph.expandNode"
+            name="expandNode">
+      </command>
+      <command
+            categoryId="org.simantics.scenegraph.ui"
+            id="org.simantics.scenegraph.collapseAll"
+            name="collapseAll">
+      </command>
+      <command
+            categoryId="org.simantics.scenegraph.ui"
+            description="A toggle for linking the active editor selection to the current scene graph viewer selection."
+            id="org.simantics.scenegraph.linkToActiveWorkbenchPart"
+            name="linkToSelection">
+         <state
+               class="org.eclipse.jface.commands.ToggleState"
+               id="org.simantics.scenegraph.linkToActiveWorkbenchPart.state">
+         </state>
+      </command>
+   </extension>
+   <extension
+         point="org.eclipse.ui.handlers">
+      <handler
+            class="org.simantics.scenegraph.ui.RefreshHandler"
+            commandId="org.eclipse.ui.file.refresh">
+         <activeWhen>
+            <reference
+                  definitionId="org.simantics.scenegraph.viewer.active">
+            </reference>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.simantics.scenegraph.ui.CopyHandler"
+            commandId="org.eclipse.ui.edit.copy">
+         <activeWhen>
+            <reference
+                  definitionId="org.simantics.scenegraph.viewer.active">
+            </reference>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.simantics.scenegraph.ui.CollapseAllHandler"
+            commandId="org.simantics.scenegraph.collapseAll">
+      </handler>
+      <handler
+            class="org.simantics.scenegraph.ui.ExpandNodeHandler"
+            commandId="org.simantics.scenegraph.expandNode">
+      </handler>
+      <handler
+            class="org.simantics.scenegraph.ui.LinkToActiveWorkbenchPartHandler"
+            commandId="org.simantics.scenegraph.linkToActiveWorkbenchPart">
+      </handler>
+   </extension>
+   <extension
+         point="org.eclipse.ui.contexts">
+      <context
+            description="This context is active while the scene graph viewer is active."
+            id="org.simantics.scenegraph.viewer"
+            name="Scene Graph Viewer Context"
+            parentId="org.eclipse.ui.contexts.dialogAndWindow">
+      </context>
+   </extension>
+   <extension
+         point="org.eclipse.ui.menus">
+      <menuContribution
+            locationURI="toolbar:org.simantics.scenegraph.viewer">
+         <command
+               commandId="org.simantics.scenegraph.collapseAll"
+               icon="icons/collapseall.gif"
+               label="Collapse All"
+               style="push"
+               tooltip="Collapse All">
+         </command>
+         <command
+               commandId="org.simantics.scenegraph.expandNode"
+               icon="icons/expandall.gif"
+               label="Expand All"
+               style="push"
+               tooltip="Expand All Under Selected Node">
+         </command>
+         <command
+               commandId="org.eclipse.ui.file.refresh"
+               icon="icons/reload.png"
+               label="Reload"
+               style="push"
+               tooltip="Reload Scene Graph">
+         </command>
+         <command
+               commandId="org.simantics.scenegraph.linkToActiveWorkbenchPart"
+               icon="icons/synced.gif"
+               label="Link With Active Workbench Part"
+               style="toggle"
+               tooltip="Link With Active Workbench Part">
+         </command>
+      </menuContribution>
+   </extension>
+   <extension
+         point="org.eclipse.ui.bindings">
+      <key
+            commandId="org.simantics.scenegraph.collapseAll"
+            contextId="org.simantics.scenegraph.viewer"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="Ctrl+-">
+      </key>
+      <key
+            commandId="org.simantics.scenegraph.expandNode"
+            contextId="org.simantics.scenegraph.viewer"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+            sequence="Ctrl++">
+      </key>
+   </extension>
+
+</plugin>