]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram.profile/plugin.xml
Check if root allows paste only for non-null target root to prevent NPE
[simantics/platform.git] / bundles / org.simantics.diagram.profile / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4
5    <extension
6          point="org.eclipse.ui.views">
7          
8
9       <view
10             category="org.simantics.diagram.views"
11             class="org.simantics.diagram.profile.view.ProfilesView"
12             icon="icons/Monitors.png"
13             id="org.simantics.diagram.profile"
14             name="Profiles">
15          <description>
16             A view for editing diagram profiles.
17          </description>
18       </view>
19       
20     </extension>
21
22
23    <extension
24          point="org.simantics.browsing.ui.common.viewpointContributionBinding">
25 <!--
26       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Active">
27          <implementation class="org.simantics.diagram.profile.view.RuntimeDirectProfileEntries" preference="2.0" />
28          <implementation class="org.simantics.diagram.profile.view.ProfileEntryChildren" preference="2.0" />
29       </binding>
30 -->
31       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Entries">
32          <implementation class="org.simantics.diagram.profile.view.AvailableEntries" preference="2.0" />
33       </binding>
34       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Groups">
35          <implementation class="org.simantics.diagram.profile.view.AvailableGroups" preference="2.0" />
36       </binding>
37       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Styles">
38          <implementation class="org.simantics.diagram.profile.view.AvailableStyles" preference="2.0" />
39       </binding>
40    </extension>
41    <extension
42          point="org.simantics.browsing.ui.common.labelerBinding">
43       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Active">
44         <implementation class="org.simantics.diagram.profile.view.EntryLabeler" preference="2.0"/>
45       </binding>
46       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Entries">
47         <implementation class="org.simantics.browsing.ui.graph.contributor.layer0.StringAdapter" preference="2.0"/>
48       </binding>
49       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Groups">
50         <implementation class="org.simantics.browsing.ui.graph.contributor.layer0.StringAdapter" preference="2.0"/>
51       </binding>
52       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Styles">
53         <implementation class="org.simantics.browsing.ui.graph.contributor.layer0.StringAdapter" preference="2.0"/>
54       </binding>
55    </extension>
56    <extension
57          point="org.simantics.browsing.ui.common.imagerBinding">
58          <!--
59       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Active">
60         <implementation class="org.simantics.diagram.profile.view.ResourcePairImageRule" preference="2.0"/>
61       </binding>
62       -->
63       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Entries">
64         <implementation class="org.simantics.browsing.ui.swt.ImageDescriptorProviderAdapter" preference="2.0"/>
65       </binding>
66       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Groups">
67         <implementation class="org.simantics.browsing.ui.swt.ImageDescriptorProviderAdapter" preference="2.0"/>
68       </binding>
69       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Styles">
70         <implementation class="org.simantics.browsing.ui.swt.ImageDescriptorProviderAdapter" preference="2.0"/>
71       </binding>
72    </extension>
73    <!--
74    <extension
75          point="org.simantics.browsing.ui.common.checkedStateBinding">
76       <binding browseContext="http://www.simantics.org/Diagram-0.0/ProfilesView/Active">
77          <implementation class="org.simantics.diagram.profile.view.ProfileCheckContributor" preference="2.0" />
78       </binding>
79    </extension>
80    -->
81
82    <extension
83          point="org.simantics.scl.reflection.binding">
84       <namespace
85             path="http://www.simantics.org/Diagram-0.0/Profile/Functions">
86          <externalClass className="org.simantics.db.Resource"/>
87          <externalClass className="org.simantics.db.ReadGraph"/>
88          <externalClass className="org.simantics.db.WriteGraph"/>
89          <externalClass className="org.simantics.db.layer0.variable.Variable"/>
90          <class
91                className="org.simantics.diagram.profile.function.All">
92          </class>
93       </namespace>
94    </extension>
95
96 </plugin>