]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.browsing.ui.platform/plugin.xml
Check if root allows paste only for non-null target root to prevent NPE
[simantics/platform.git] / bundles / org.simantics.browsing.ui.platform / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>\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
16    <extension
17          point="org.eclipse.ui.views">
18       <category
19             id="org.simantics.modeling.category"
20             name="Modeling"/>
21       <view
22             allowMultiple="true"
23             category="org.simantics.modeling.category"
24             class="org.simantics.browsing.ui.platform.PropertyPageView"
25             icon="platform:/plugin/com.famfamfam.silk/icons/table.png"
26             id="org.simantics.browsing.ui.graph.propertyView"
27             name="Properties"/>
28       <view
29             allowMultiple="true"
30             category="org.simantics.modeling.category"
31             class="org.simantics.browsing.ui.platform.PropertyPageView"
32             icon="platform:/plugin/com.famfamfam.silk/icons/table.png"
33             id="org.simantics.browsing.ui.graph.propertyViewPinned"
34             name="Properties (Pinned)"/>
35       <!--
36       <view
37             allowMultiple="true"
38             category="org.simantics.browsing.category"
39             class="org.simantics.browsing.ui.platform.VariablesPageView"
40             icon="icons/table_multiple.png"
41             id="org.simantics.browsing.ui.graph.variablesView"
42             name="Selection Variables"/>
43       <view
44             allowMultiple="true"
45             category="org.simantics.browsing.category"
46             class="org.simantics.browsing.ui.platform.VariablesPageView"
47             icon="icons/table_multiple.png"
48             id="org.simantics.browsing.ui.graph.variablesViewPinned"
49             name="Selection Variables (Pinned)"/>
50       <view
51             allowMultiple="true"
52             category="org.simantics.browsing.category"
53             class="org.simantics.browsing.ui.platform.debug.BrowseDebuggerView"
54             icon="icons/table_multiple.png"
55             id="org.simantics.browsing.ui.graph.browseDebugger"
56             name="Browse Debugger"/>
57       -->
58    </extension>
59    
60    <!-- Tuukka: removed to keep this framework plug-in from making unwanted contributions to products -->
61    <!--
62    <extension
63          point="org.simantics.ui.resourceEditorAdapter">
64       <adapterClass
65             class="org.simantics.browsing.ui.graph.NewPropertyViewAdapter"
66             id="New Property View"
67             priority="0">
68       </adapterClass>
69    </extension>
70    -->
71
72    <extension
73          point="org.eclipse.ui.contexts">
74       <context
75             id="org.simantics.browsing.ui.variables"
76             name="In Variables View"
77             parentId="org.eclipse.ui.contexts.window">
78       </context>
79    </extension>
80
81    <extension point="org.simantics.browsing.ui.common.viewpointContributionBinding">
82
83       <binding browseContext="browseDebuggerView">
84         <implementation class="org.simantics.browsing.ui.platform.debug.EvaluatorViewContribution" preference="2.0"/>
85         <implementation class="org.simantics.browsing.ui.platform.debug.EvaluatorClassContribution" preference="2.0"/>
86         <implementation class="org.simantics.browsing.ui.platform.debug.EvaluatorContribution" preference="2.0"/>
87         <implementation class="org.simantics.browsing.ui.platform.debug.EvaluatorTreeContribution" preference="2.0"/>
88       </binding>
89
90       <binding browseContext="org.simantics.browsing.ui.graph.variablesView">
91         <implementation class="org.simantics.browsing.ui.platform.VariablesContributor" preference="1.0"/>
92       </binding>
93
94    </extension>
95
96    <extension point="org.simantics.browsing.ui.common.labelerBinding">
97
98       <binding browseContext="org.simantics.browsing.ui.graph.variablesView">
99         <implementation class="org.simantics.browsing.ui.graph.contributor.layer0.StringAdapter" preference="1.0"/>
100       </binding>
101
102    </extension>
103
104
105 </plugin>