blob: fe7a4c0e8e7e019ea1f850fb92c5b8343d01238d [file] [log] [blame]
Brian Fitzpatrick0e8ba272008-04-28 17:14:22 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.2"?>
3<plugin>
4 <extension
5 point="org.eclipse.datatools.connectivity.sqm.core.ui.labelService">
6 <contributor
7 displayType="%view.node.name"
8 iconLocation="/icons/dsefolder.gif"
9 type="org.eclipse.datatools.enablement.sybase.virtual.SybaseViewNode">
10 </contributor>
11 </extension>
12
13 <!--For PrimaryKeyNode,UniqueConstraintNode,CheckConstraintNode,ForeignKeyNode -->
14 <extension point = "org.eclipse.datatools.connectivity.sqm.core.ui.labelService">
15<!-- <contributor
16 displayType="%temptable.name"
17 iconLocation="/icons/temporary_table.gif"
18 type="org.eclipse.datatools.modelbase.sql.tables.TemporaryTable"/>
19 <contributor
20 displayType="%trigger.name"
21 iconLocation="/icons/trigger.gif"
22 type="org.eclipse.datatools.modelbase.sql.tables.Trigger"/> -->
23 <contributor
24 displayType="%parameters.node.name"
25 iconLocation="/icons/folder.gif"
26 type="org.eclipse.datatools.enablement.sybase.virtual.ParametersNode"/>
27<!-- <contributor
28 displayType="%storedprocedure.node.name"
29 iconLocation="/icons/folder.gif"
30 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.StoredProcedureNode"/>
31 <contributor
32 displayType="%table.node.name"
33 iconLocation="/icons/folder.gif"
34 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.TableNode"/>
35 <contributor
36 displayType="%udt.node.name"
37 iconLocation="/icons/folder.gif"
38 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.UDTNode"/>
39 <contributor
40 displayType="%view.node.name"
41 iconLocation="/icons/folder.gif"
42 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.ViewNode"/>
43 <contributor
44 displayType="%schema.node.name"
45 iconLocation="/icons/folder.gif"
46 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.SchemaNode"/>
47 <contributor
48 displayType="%column.node.name"
49 iconLocation="/icons/folder.gif"
50 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.ColumnNode"/>
51 <contributor
52 displayType="%index.node.name"
53 iconLocation="/icons/folder.gif"
54 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.IndexNode"/>
55 <contributor
56 displayType="%trigger.node.name"
57 iconLocation="/icons/folder.gif"
58 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.TriggerNode"/>
59 <contributor
60 displayType="%catalog.node.name"
61 iconLocation="/icons/folder.gif"
62 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.CatalogNode"/>
63 <contributor
64 displayType="%udf.node.name"
65 iconLocation="/icons/folder.gif"
66 type="org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.providers.content.virtual.UDFNode"/> -->
67 <contributor
68 displayType="%checkconstraint.node.name"
69 iconLocation="/icons/folder.gif"
70 type="org.eclipse.datatools.enablement.sybase.virtual.CheckConstraintNode"/>
71 <contributor
72 displayType="%foreignkey.node.name"
73 iconLocation="/icons/folder.gif"
74 type="org.eclipse.datatools.enablement.sybase.virtual.ForeignKeyNode"/>
75 <contributor
76 displayType="%primarykey.node.name"
77 iconLocation="/icons/folder.gif"
78 type="org.eclipse.datatools.enablement.sybase.virtual.PrimaryKeyNode"/>
79 <contributor
80 displayType="%uniqueconstraint.node.name"
81 iconLocation="/icons/folder.gif"
82 type="org.eclipse.datatools.enablement.sybase.virtual.UniqueConstraintNode"/>
83<!-- <contributor
84 displayType="%parameter.name"
85 iconLocation="/icons/param_obj.gif"
86 type="org.eclipse.datatools.modelbase.sql.routines.Parameter"/>-->
87 </extension>
88 <!--end -->
89
90 <!-- Label Providers -->
91<!-- <extension point = "org.eclipse.datatools.connectivity.sqm.core.ui.labelService">
92 <contributor
93 type = "org.eclipse.datatools.modelbase.sql.schema.Database"
94 iconLocation = "/icons/database.gif"
95 displayType = "%database"
96 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
97 </contributor>
98 <contributor
99 type = "org.eclipse.datatools.modelbase.sql.tables.BaseTable"
100 iconLocation = "/icons/table.gif"
101 displayType = "%baseTable"
102 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
103 </contributor>
104 <contributor
105 type = "org.eclipse.datatools.modelbase.sql.tables.Column"
106 iconLocation = "/icons/column.gif"
107 displayType = "%column"
108 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
109 </contributor>
110 <contributor
111 type = "org.eclipse.datatools.modelbase.sql.datatypes.UserDefinedType"
112 iconLocation = "/icons/userdefined_datatype.gif"
113 displayType = "%udt"
114 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
115 </contributor>
116 <contributor
117 type = "org.eclipse.datatools.modelbase.sql.constraints.Index"
118 iconLocation = "/icons/index.gif"
119 displayType = "%index"
120 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
121 </contributor>
122 <contributor
123 type = "org.eclipse.datatools.modelbase.sql.routines.Procedure"
124 iconLocation = "/icons/stored_procedure.gif"
125 displayType = "%procedure"
126 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
127 </contributor>
128 <contributor
129 type = "org.eclipse.datatools.modelbase.sql.tables.ViewTable"
130 iconLocation = "/icons/view.gif"
131 displayType = "%view"
132 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
133 </contributor>
134 <contributor
135 type = "org.eclipse.datatools.modelbase.sql.tables.Table"
136 iconLocation = "/icons/table.gif"
137 displayType = "%baseTable"
138 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
139 </contributor>
140 <contributor
141 type = "org.eclipse.datatools.modelbase.sql.routines.Parameter"
142 iconLocation = "/icons/param_obj.gif"
143 displayType = "%parameter"
144 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
145 </contributor>
146 <contributor
147 type = "org.eclipse.datatools.modelbase.sql.tables.Trigger"
148 iconLocation = "/icons/trigger.gif"
149 displayType = "%trigger"
150 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
151 </contributor>
152 <contributor
153 type = "org.eclipse.datatools.modelbase.sql.constraints.CheckConstraint"
154 iconLocation = "/icons/check_constraint.gif"
155 displayType = "%CheckConstraint"
156 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
157 </contributor>
158 <contributor
159 type = "org.eclipse.datatools.modelbase.sql.constraints.UniqueConstraint"
160 iconLocation = "/icons/unique_constraint.gif"
161 displayType = "%UniqueConstraint"
162 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
163 </contributor>
164 <contributor
165 type = "org.eclipse.datatools.modelbase.sql.routines.Function"
166 iconLocation = "/icons/udf.gif"
167 displayType = "%function"
168 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
169 </contributor>
170 <contributor
171 type= "org.eclipse.datatools.modelbase.sql.constraints.PrimaryKey"
172 iconLocation = "/icons/primaryKey.gif"
173 displayType = "%primaryKey"
174 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
175 </contributor>
176 <contributor
177 type = "org.eclipse.datatools.modelbase.sql.constraints.ForeignKey"
178 iconLocation = "/icons/foreignKey.gif"
179 displayType = "%foreignKey"
180 selector = "org.eclipse.datatools.enablement.sybase.SybaseLabelSelector">
181 </contributor>
182 </extension>-->
183 <!-- end -->
184
185 <extension
186 point="org.eclipse.ui.decorators">
187 <decorator
188 adaptable="false"
189 class="org.eclipse.datatools.enablement.sybase.ui.SystemTableDecorationService"
190 id="org.eclipse.datatools.enablement.sybase.systemtabledecorator"
Brian Fitzpatrickbbb65ea2009-04-17 15:32:01 +0000191 label="%decorator.label"
Brian Fitzpatrick0e8ba272008-04-28 17:14:22 +0000192 lightweight="true"
193 location="TOP_LEFT"
194 objectClass="org.eclipse.datatools.enablement.sybase.ui.SystemTableDecorationService"
195 state="true">
196 <enablement>
197 <or>
198 <objectClass name="org.eclipse.datatools.enablement.sybase.models.sybasesqlmodel.SybaseBaseTable"/>
199 </or>
200 </enablement>
201 </decorator>
202 </extension>
203
204 <extension
205 point="org.eclipse.ui.popupMenus">
206 <objectContribution
207 adaptable="false"
208 id="org.eclipse.datatools.enablement.sybase.objectContribution1"
209 objectClass="org.eclipse.datatools.connectivity.IConnectionProfile">
210 <action
211 class="org.eclipse.datatools.enablement.sybase.ui.ShowSchemaAction"
212 id="org.eclipse.datatools.enablement.sybase.ui.showSchemaAction"
213 label="Show &amp;Schema"
214 style="toggle"
215 state="false"
216 menubarPath="slotSetting"/>
217 <action
218 class="org.eclipse.datatools.enablement.sybase.ui.ShowOwnerAction"
219 id="org.eclipse.datatools.enablement.sybase.ui.showOwnerAction"
220 label="Show &amp;Owner"
221 style="toggle"
222 state="true"
223 menubarPath="slotSetting"/>
224 <visibility>
225 <and>
226 <objectClass name="org.eclipse.datatools.connectivity.IConnectionProfile"/>
227 <or>
228 <objectState
229 name="org.eclipse.datatools.profile.property.id"
230 value="org.eclipse.datatools.enablement.sybase.asa.connectionProfile"/>
231 <objectState
232 name="org.eclipse.datatools.profile.property.id"
233 value="com.sybase.stf.servers.jdbc.ase2.embedded.connectionProfile"/>
234 <objectState
235 name="org.eclipse.datatools.profile.property.id"
236 value="org.eclipse.datatools.enablement.sybase.iq.connectionProfile"/>
237 </or>
238 </and>
239 </visibility>
240 </objectContribution>
241 <objectContribution
242 adaptable="false"
243 id="org.eclipse.datatools.enablement.sybase.objectContribution2"
244 objectClass="org.eclipse.datatools.enablement.sybase.asa.models.sybaseasabasesqlmodel.SybaseASABaseDatabase">
245 <action
246 class="org.eclipse.datatools.enablement.sybase.ui.ShowSchemaAction"
247 id="org.eclipse.datatools.enablement.sybase.ui.showSchemaAction2"
248 label="Show &amp;Schema"
249 style="toggle"
250 state="false"
251 menubarPath="slotSetting"/>
252 <action
253 class="org.eclipse.datatools.enablement.sybase.ui.ShowOwnerAction"
254 id="org.eclipse.datatools.enablement.sybase.ui.showOwnerAction2"
255 label="Show &amp;Owner"
256 style="toggle"
257 state="true"
258 menubarPath="slotSetting"/>
259 </objectContribution>
260 <objectContribution
261 adaptable="false"
262 id="org.eclipse.datatools.enablement.sybase.objectContribution3"
263 objectClass="org.eclipse.datatools.enablement.sybase.ase.catalog.SybaseASECatalog">
264 <action
265 class="org.eclipse.datatools.enablement.sybase.ui.ShowSchemaAction"
266 id="org.eclipse.datatools.enablement.sybase.ui.showSchemaAction3"
267 label="Show &amp;Schema"
268 style="toggle"
269 state="false"
270 menubarPath="slotSetting"/>
271 <action
272 class="org.eclipse.datatools.enablement.sybase.ui.ShowOwnerAction"
273 id="org.eclipse.datatools.enablement.sybase.ui.showOwnerAction3"
274 label="Show &amp;Owner"
275 style="toggle"
276 state="true"
277 menubarPath="slotSetting"/>
278 </objectContribution>
279 </extension>
280
281 <extension
282 point="org.eclipse.ui.preferencePages">
283 <page
Lin Song20b5b5d2008-08-22 07:15:11 +0000284 name="%database.connection.profile.title"
Brian Fitzpatrick0e8ba272008-04-28 17:14:22 +0000285 class="org.eclipse.datatools.enablement.sybase.ui.SybaseDatabaseProfileSettingPage"
286 id="org.eclipse.datatools.enablement.sybase.ui.SybaseDatabaseProfileSettingPage"
287 category="org.eclipse.datatools.connectivity.internal.ui.preferences.DataToolsMainPage">
288 </page>
289 </extension>
290 <!--extension
291 point="org.eclipse.help.contexts">
292 <contexts
293 file="profileSettingHelpContexts.xml"
294 plugin="org.eclipse.datatools.enablement.sybase"/>
295 </extension-->
296 <extension
297 point="org.eclipse.core.runtime.preferences">
298 <initializer
299 class="org.eclipse.datatools.enablement.sybase.ui.SybasePreferenceInitializer">
300 </initializer>
301 </extension>
302
303 <extension
304 point="org.eclipse.core.runtime.adapters">
305 <factory
306 class="org.eclipse.datatools.enablement.sybase.ui.VirtualNodeAdapterFactory"
307 adaptableType="org.eclipse.datatools.connectivity.sqm.core.ui.explorer.providers.content.virtual.VirtualNode">
308 <adapter type="org.eclipse.datatools.enablement.sybase.VirtualNodeAdapter"/>
309 </factory>
310 </extension>
311</plugin>