]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/plugin.xml
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.ui / plugin.xml
diff --git a/bundles/org.simantics.ui/plugin.xml b/bundles/org.simantics.ui/plugin.xml
new file mode 100644 (file)
index 0000000..0153daa
--- /dev/null
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?eclipse version="3.3"?>\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
+
+<plugin>\r
+   <extension-point id="doubleClick" name="Double Click" schema="schema/doubleClick.exsd"/>
+   <extension-point id="resourceEditorAdapter" name="Resource Editor Adapter" schema="schema/resourceEditorAdapter.exsd"/>\r
+   <extension-point id="perspectiveContextBinding" name="Workbench Perspective to Context Binding" schema="schema/perspectiveContextBinding.exsd"/>\r
+   <extension-point id="perspectiveBars" name="Perspective controlled menu-, cool-, ... bar visibility" schema="schema/perspectiveBars.exsd"/>\r
+   <extension-point id="toolbarCommand" name="toolbarCommand" schema="schema/toolbarCommand.exsd"/>\r
+\r
+   <extension\r
+         point="org.eclipse.ui.elementFactories">\r
+      <factory\r
+            class="org.simantics.ui.workbench.ResourceEditorInputFactory"\r
+            id="org.simantics.ui.workbench.resourceEditorInputFactory">\r
+      </factory>\r
+      <factory\r
+            class="org.simantics.ui.workbench.ResourceEditorInputFactory2"\r
+            id="org.simantics.ui.workbench.resourceEditorInputFactory2">\r
+      </factory>\r
+   </extension>\r
+\r
+   <extension\r
+         point="org.simantics.ui.doubleClick">\r
+      <doubleClickAction\r
+            class="org.simantics.ui.workbench.editor.OpenDefaultEditor"\r
+            name="Open Default Editor"\r
+            priority="0.0">\r
+      </doubleClickAction>\r
+   </extension>\r
+\r
+   <extension\r
+         point="org.eclipse.core.expressions.propertyTesters">\r
+      <propertyTester\r
+            class="org.simantics.ui.tester.BasicResourcePropertyTester"\r
+            id="org.simantics.graph.basicResourcePropertyTester"\r
+            namespace="org.simantics.graph"\r
+            properties="resourceType,allResourcesOfType,inherits,allInherit,nameMatches,hasTag,hasParent,hasStatement"\r
+            type="java.lang.Object">\r
+      </propertyTester>\r
+      <propertyTester\r
+            class="org.simantics.ui.tester.CollectionResourcePropertyTester"\r
+            id="org.simantics.graph.collectionResourcePropertyTester"\r
+            namespace="org.simantics.graph"\r
+            properties="resourceTypes"\r
+            type="java.lang.Object">\r
+      </propertyTester>\r
+      <propertyTester\r
+            class="org.simantics.ui.workbench.preferences.PreferencePropertyTester"\r
+            id="org.simantics.preferenceTester"\r
+            namespace="org.simantics"\r
+            properties="preference"\r
+            type="java.lang.Object">\r
+      </propertyTester>\r
+      <propertyTester\r
+            class="org.simantics.ui.tester.UndoPropertyTester"\r
+            id="org.simantics.ui.tester.undoPropertyTester"\r
+            namespace="org.simantics.ui.tester"\r
+            properties="canUndo,canRedo"\r
+            type="java.lang.Object">\r
+      </propertyTester>\r
+   </extension>\r
+   \r
+   <extension\r
+      point="org.eclipse.ui.commands">\r
+      <category\r
+            id="org.simantics.ui.category"\r
+            name="Simantics UI Commands">\r
+      </category>\r
+      <command\r
+            categoryId="org.simantics.ui.category"\r
+            id="org.simantics.ui.states.trackedText"\r
+            name="Undo in Tracked Text">\r
+         <state\r
+               class="org.simantics.ui.states.TrackedTextState"\r
+               id="org.simantics.ui.states.trackedText.state">\r
+         </state>\r
+      </command>\r
+   </extension>\r
+\r
+</plugin>\r