|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 All rights reserved. |
|
5 This component and the accompanying materials are made available |
|
6 under the terms of "Eclipse Public License v1.0" |
|
7 which accompanies this distribution, and is available |
|
8 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 |
|
10 Initial Contributors: |
|
11 Nokia Corporation - Initial contribution |
|
12 |
|
13 Contributors: |
|
14 |
|
15 Description: This file is part of com.nokia.tools.vct.confml.editor.view component. |
|
16 --> |
|
17 <?eclipse version="3.2"?> |
|
18 <plugin> |
|
19 <extension point="org.eclipse.ui.editors"> |
|
20 <editor |
|
21 class="com.nokia.tools.vct.confml.editor.view.ViewsEditor" |
|
22 contributorClass="com.nokia.tools.vct.confml.editor.view.ViewsEditorActionBarContributor" |
|
23 default="false" |
|
24 extensions="confml" |
|
25 icon="icons/edi_view.gif" |
|
26 id="com.nokia.tools.variant.editor.ViewEditor" |
|
27 name="ConfML View Editor"> |
|
28 <contentTypeBinding contentTypeId="com.nokia.tools.vct.content.confml"> |
|
29 </contentTypeBinding> |
|
30 <contentTypeBinding contentTypeId="com.nokia.tools.vct.content.confml2"> |
|
31 </contentTypeBinding> |
|
32 </editor> |
|
33 </extension> |
|
34 <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> |
|
35 <propertyContributor |
|
36 contributorId="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
37 <propertyCategory category="common"> |
|
38 </propertyCategory> |
|
39 <propertyCategory |
|
40 category="constraints"> |
|
41 </propertyCategory> |
|
42 </propertyContributor> |
|
43 </extension> |
|
44 <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs"> |
|
45 <propertyTabs |
|
46 contributorId="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
47 <propertyTab category="common" |
|
48 id="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB" |
|
49 indented="false" label="General"> |
|
50 </propertyTab> |
|
51 <propertyTab |
|
52 afterTab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB" |
|
53 category="common" id="com.nokia.tools.variant.confml.ui.DetailsTab" |
|
54 indented="false" label="Details"> |
|
55 </propertyTab> |
|
56 <propertyTab |
|
57 category="constraints" |
|
58 id="com.nokia.tools.vct.confml.editor.view.ConstraintsTab" |
|
59 indented="false" |
|
60 label="Constraints"> |
|
61 </propertyTab> |
|
62 </propertyTabs> |
|
63 </extension> |
|
64 <extension point="org.eclipse.ui.views.properties.tabbed.propertySections"> |
|
65 <propertySections |
|
66 contributorId="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
67 <propertySection |
|
68 class="com.nokia.tools.vct.confml.editor.view.properties.ViewPropertySection" |
|
69 id="ViewTypeSection" tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
70 <input type="com.nokia.tools.vct.confml.editor.view.vemodel.EView"> |
|
71 </input> |
|
72 </propertySection> |
|
73 <propertySection |
|
74 class="com.nokia.tools.vct.confml.editor.view.properties.GroupPropertySection" |
|
75 id="GroupTypeSection" tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
76 <input type="com.nokia.tools.vct.confml.editor.view.vemodel.EGroup"> |
|
77 </input> |
|
78 </propertySection> |
|
79 <propertySection |
|
80 class="com.nokia.tools.vct.confml.editor.view.properties.SettingRefSection" |
|
81 id="SettingRefTypeSection" tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
82 <input type="com.nokia.tools.vct.confml.editor.view.vemodel.ESettingRef"> |
|
83 </input> |
|
84 </propertySection> |
|
85 <propertySection |
|
86 class="com.nokia.tools.vct.confml.editor.view.properties.FeatureSection" |
|
87 id="FeatureSection" tab="com.nokia.tools.variant.confml.ui.DetailsTab"> |
|
88 <input type="com.nokia.tools.vct.confml.editor.view.vemodel.EFeature"> |
|
89 </input> |
|
90 </propertySection> |
|
91 <propertySection |
|
92 class="com.nokia.tools.vct.confml.editor.view.properties.SettingSection" |
|
93 id="SettingSection" tab="com.nokia.tools.variant.confml.ui.DetailsTab"> |
|
94 <input type="com.nokia.tools.vct.confml.editor.view.vemodel.ESetting"> |
|
95 </input> |
|
96 </propertySection> |
|
97 <propertySection |
|
98 class="com.nokia.tools.vct.confml.editor.view.properties.SettingEntrySection" |
|
99 id="SettingEntrySection" tab="com.nokia.tools.variant.confml.ui.DetailsTab"> |
|
100 <input |
|
101 type="com.nokia.tools.vct.confml.editor.view.vemodel.impl.ESettingEntryImpl"> |
|
102 </input> |
|
103 </propertySection> |
|
104 <propertySection |
|
105 class="com.nokia.tools.vct.confml.editor.view.properties.ConstraintsSection" |
|
106 id="SettingRefConstraintsSection" |
|
107 tab="com.nokia.tools.vct.confml.editor.view.ConstraintsTab"> |
|
108 <input |
|
109 type="com.nokia.tools.vct.confml.editor.view.vemodel.ESettingRef"> |
|
110 </input> |
|
111 </propertySection> |
|
112 <propertySection |
|
113 class="com.nokia.tools.vct.confml.editor.view.properties.RefPropertySection" |
|
114 id="RefPropertySection" |
|
115 tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
116 <input |
|
117 type="com.nokia.tools.vct.confml.editor.view.vemodel.ERefProperty"> |
|
118 </input> |
|
119 </propertySection> |
|
120 <propertySection |
|
121 class="com.nokia.tools.vct.confml.editor.view.properties.RefOptionSection" |
|
122 id="RefOptionSection" |
|
123 tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
124 <input |
|
125 type="com.nokia.tools.vct.confml.editor.view.vemodel.ERefOption"> |
|
126 </input> |
|
127 </propertySection> |
|
128 </propertySections> |
|
129 </extension> |
|
130 <extension point="org.eclipse.ui.decorators"> |
|
131 <decorator adaptable="false" |
|
132 class="com.nokia.tools.vct.confml.editor.view.viewers.ViewTreeViewerLabelDecorator" |
|
133 id="com.nokia.tools.variant.confml.ui.editors.viewers.ViewTreeViewerLabelDecorator" |
|
134 label="Decorator for Views Editor" lightweight="true" location="BOTTOM_LEFT" |
|
135 state="true"> |
|
136 <enablement> |
|
137 <or> |
|
138 <objectClass |
|
139 name="com.nokia.tools.vct.confml.editor.view.vemodel.EView"> |
|
140 </objectClass> |
|
141 <objectClass |
|
142 name="com.nokia.tools.vct.confml.editor.view.vemodel.EGroup"> |
|
143 </objectClass> |
|
144 <objectClass |
|
145 name="com.nokia.tools.vct.confml.editor.view.vemodel.ESettingRef"> |
|
146 </objectClass> |
|
147 <objectClass |
|
148 name="com.nokia.tools.vct.confml.editor.view.vemodel.ESetting"> |
|
149 </objectClass> |
|
150 <objectClass |
|
151 name="com.nokia.tools.vct.confml.editor.view.vemodel.impl.ESettingEntryImpl"> |
|
152 </objectClass> |
|
153 <objectClass |
|
154 name="com.nokia.tools.vct.common.appmodel.EAppFeature"> |
|
155 </objectClass> |
|
156 </or> |
|
157 </enablement> |
|
158 <description> Show errors in the Views Editor.</description> |
|
159 </decorator> |
|
160 </extension> |
|
161 <extension |
|
162 point="org.eclipse.ui.popupMenus"> |
|
163 <objectContribution |
|
164 adaptable="false" |
|
165 id="com.nokia.tools.vct.confml.editor.view.openview.editor.popup" |
|
166 objectClass="org.eclipse.emf.ecore.EObject"> |
|
167 <action |
|
168 class="com.nokia.tools.vct.confml.editor.view.actions.OpenConfMLViewEditor" |
|
169 id="com.nokia.tools.vct.confml.editor.view.action1" |
|
170 label="Open View Editor" |
|
171 tooltip="Open view editor"> |
|
172 </action> |
|
173 </objectContribution> |
|
174 </extension> |
|
175 </plugin> |