]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural.ui/plugin.xml
Fixed regression in TrendNode.
[simantics/platform.git] / bundles / org.simantics.structural.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <?eclipse version="3.4"?>\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\r
16          point="org.eclipse.ui.views">\r
17       <view\r
18             category="org.simantics.modeling.category"\r
19             class="org.simantics.structural.ui.modelBrowser.ModelBrowser2"\r
20             icon="icons/chart_organisation.png"\r
21             id="org.simantics.structural.ui.modelBrowser2"\r
22             name="Model Browser"\r
23             restorable="true">\r
24          <description>\r
25             Generic browser for structural models.\r
26          </description>\r
27       </view>\r
28    </extension>\r
29 \r
30    <extension point="org.simantics.browsing.ui.common.viewpointContributionBinding">\r
31       <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">\r
32         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ProjectModels" preference="1.0"/>\r
33         <implementation\r
34               class="org.simantics.structural.ui.modelBrowser.contributions.ProjectComponentTypes"\r
35               preference="1.0">\r
36         </implementation>\r
37         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentRuns" preference="1.0"/>\r
38         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.Experiments" preference="1.0"/>\r
39         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ModelConfiguration" preference="1.0"/>\r
40         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ModelExperiments" preference="1.0"/>\r
41         <implementation\r
42               class="org.simantics.structural.ui.modelBrowser.contributions.ComponentTypeDefinition"\r
43               preference="1.0">\r
44         </implementation>\r
45         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.CompositeComponents" preference="1.0"/>\r
46       </binding>\r
47    </extension>\r
48    <extension\r
49          point="org.simantics.browsing.ui.common.labelerBinding">\r
50       <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">\r
51         <implementation class="org.simantics.browsing.ui.graph.contributor.layer0.StringAdapter" preference="0.0" />\r
52         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.AbstractNodeLabeler" preference="1.0"/>\r
53         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentLabeler" preference="2.0"/>\r
54         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentsLabeler" preference="2.0"/>\r
55         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ConnectionLabeler" preference="2.0"/>\r
56       </binding>\r
57    </extension>\r
58    <extension\r
59          point="org.simantics.browsing.ui.common.imagerBinding">\r
60       <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">\r
61         <implementation class="org.simantics.browsing.ui.swt.ImageDescriptorProviderAdapter" preference="0.0" />\r
62         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentsImager" preference="2.0"/>\r
63         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.AbstractNodeImager" preference="1.0"/>\r
64       </binding>\r
65    </extension>\r
66    <extension\r
67          point="org.simantics.browsing.ui.common.labelDecoratorBinding">\r
68       <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">\r
69         <implementation class="org.simantics.structural.ui.modelBrowser.contributions.RunLabelDecorator" preference="2.0"/>\r
70         <implementation\r
71               class="org.simantics.structural.ui.modelBrowser.contributions.ComponentLabelDecorator"\r
72               preference="2.0">\r
73         </implementation>\r
74       </binding>\r
75    </extension>\r
76    <extension\r
77          point="org.simantics.ui.resourceEditorAdapter">\r
78       <adapterClass\r
79             class="org.simantics.structural.ui.compositeViewer.CompositeViewerAdapter"\r
80             id="org.simantics.structural.ui.compositeViewer"\r
81             priority="3">\r
82       </adapterClass>\r
83    </extension>\r
84    <extension\r
85          point="org.eclipse.ui.editors">\r
86       <editor\r
87             class="org.simantics.structural.ui.compositeViewer.CompositeViewer"\r
88             default="false"\r
89             id="org.simantics.structural.ui.compositeViewer"\r
90             matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"\r
91             name="Composite Viewer">\r
92       </editor>\r
93    </extension>\r
94    <extension\r
95          point="org.eclipse.ui.menus">\r
96       <menuContribution\r
97             locationURI="popup:#GraphExplorerPopup?after=new.begin">\r
98          <dynamic\r
99                class="org.simantics.structural.ui.menuContributions.ShowAllChildrenContribution"\r
100                id="org.simantics.structural.ui.showAllChildren">\r
101          </dynamic>\r
102          <menu\r
103                id="org.simantics.new"\r
104                label="New">\r
105             <separator\r
106                  name="begin"\r
107                  visible="false">\r
108             </separator>\r
109             <separator\r
110                  name="ext"\r
111                  visible="false">\r
112             </separator>\r
113             <separator\r
114                  name="end"\r
115                  visible="false">\r
116             </separator>\r
117          </menu>\r
118       </menuContribution>\r
119       <!--\r
120       Disabled for now because the UI does not currently react to the state of this preference\r
121       <menuContribution\r
122             locationURI="toolbar:org.simantics.structural.ui.modelBrowser2?after=additions">\r
123          <dynamic\r
124                class="org.simantics.structural.ui.modelBrowser.LinkWithEditor"\r
125                id="org.simantics.structural.ui.modelBrowser.linkWithEditor">\r
126          </dynamic>\r
127       </menuContribution>\r
128       -->\r
129    </extension>\r
130 \r
131 </plugin>\r