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