]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.ui/plugin.xml
Several Wiki documentation view improvements.
[simantics/platform.git] / bundles / org.simantics.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <?eclipse version="3.3"?>\r<!--\r
3     Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
4     in Industry THTH ry.\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
9    \r
10     Contributors:\r
11         VTT Technical Research Centre of Finland - initial API and implementation\r
12  -->\r
13
14 <plugin>\r
15    <extension-point id="doubleClick" name="Double Click" schema="schema/doubleClick.exsd"/>
16    <extension-point id="resourceEditorAdapter" name="Resource Editor Adapter" schema="schema/resourceEditorAdapter.exsd"/>\r
17    <extension-point id="perspectiveContextBinding" name="Workbench Perspective to Context Binding" schema="schema/perspectiveContextBinding.exsd"/>\r
18    <extension-point id="perspectiveBars" name="Perspective controlled menu-, cool-, ... bar visibility" schema="schema/perspectiveBars.exsd"/>\r
19    <extension-point id="toolbarCommand" name="toolbarCommand" schema="schema/toolbarCommand.exsd"/>\r
20 \r
21    <extension\r
22          point="org.eclipse.ui.elementFactories">\r
23       <factory\r
24             class="org.simantics.ui.workbench.ResourceEditorInputFactory"\r
25             id="org.simantics.ui.workbench.resourceEditorInputFactory">\r
26       </factory>\r
27       <factory\r
28             class="org.simantics.ui.workbench.ResourceEditorInputFactory2"\r
29             id="org.simantics.ui.workbench.resourceEditorInputFactory2">\r
30       </factory>\r
31    </extension>\r
32 \r
33    <extension\r
34          point="org.simantics.ui.doubleClick">\r
35       <doubleClickAction\r
36             class="org.simantics.ui.workbench.editor.OpenDefaultEditor"\r
37             name="Open Default Editor"\r
38             priority="0.0">\r
39       </doubleClickAction>\r
40    </extension>\r
41 \r
42    <extension\r
43          point="org.eclipse.core.expressions.propertyTesters">\r
44       <propertyTester\r
45             class="org.simantics.ui.tester.BasicResourcePropertyTester"\r
46             id="org.simantics.graph.basicResourcePropertyTester"\r
47             namespace="org.simantics.graph"\r
48             properties="resourceType,allResourcesOfType,inherits,allInherit,nameMatches,hasTag,hasParent,hasStatement"\r
49             type="java.lang.Object">\r
50       </propertyTester>\r
51       <propertyTester\r
52             class="org.simantics.ui.tester.CollectionResourcePropertyTester"\r
53             id="org.simantics.graph.collectionResourcePropertyTester"\r
54             namespace="org.simantics.graph"\r
55             properties="resourceTypes"\r
56             type="java.lang.Object">\r
57       </propertyTester>\r
58       <propertyTester\r
59             class="org.simantics.ui.workbench.preferences.PreferencePropertyTester"\r
60             id="org.simantics.preferenceTester"\r
61             namespace="org.simantics"\r
62             properties="preference"\r
63             type="java.lang.Object">\r
64       </propertyTester>\r
65       <propertyTester\r
66             class="org.simantics.ui.tester.UndoPropertyTester"\r
67             id="org.simantics.ui.tester.undoPropertyTester"\r
68             namespace="org.simantics.ui.tester"\r
69             properties="canUndo,canRedo"\r
70             type="java.lang.Object">\r
71       </propertyTester>\r
72    </extension>\r
73    \r
74    <extension\r
75       point="org.eclipse.ui.commands">\r
76       <category\r
77             id="org.simantics.ui.category"\r
78             name="Simantics UI Commands">\r
79       </category>\r
80       <command\r
81             categoryId="org.simantics.ui.category"\r
82             id="org.simantics.ui.states.trackedText"\r
83             name="Undo in Tracked Text">\r
84          <state\r
85                class="org.simantics.ui.states.TrackedTextState"\r
86                id="org.simantics.ui.states.trackedText.state">\r
87          </state>\r
88       </command>\r
89    </extension>\r
90 \r
91 </plugin>\r