3.x compatibility
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / plugin-3.0.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="com.quantum.Quantum"
5    name="%quantum.name"
6    version="2.2.4"
7    provider-name="Tom Schneider"
8    class="com.quantum.QuantumPlugin">
9
10    <runtime>
11       <library name="quantum.jar"/>
12    </runtime>
13    <requires>
14       <import plugin="org.eclipse.core.boot"/>
15       <import plugin="org.eclipse.core.runtime"/>
16       <import plugin="org.eclipse.core.resources"/>
17       <import plugin="org.eclipse.swt"/>
18       <import plugin="org.eclipse.ui"/>
19       <import plugin="org.eclipse.ui.ide"/>
20       <import plugin="org.eclipse.text"/>
21       <import plugin="org.eclipse.jface.text"/>
22       <import plugin="org.apache.xerces"/>
23       <import plugin="org.eclipse.core.runtime.compatibility"/>
24       <import plugin="org.eclipse.ui.editors"/>
25       <import plugin="org.eclipse.ui.workbench.texteditor"/>
26    </requires>
27
28
29 <!-- Pop-up Menus -->
30    <extension
31          point="org.eclipse.ui.popupMenus">
32       <objectContribution
33             objectClass="org.eclipse.core.resources.IFile"
34             nameFilter="*.sql"
35             id="com.quantum">
36          <menu
37                label="Quantum"
38                path="additions"
39                id="com.quantum.menu1">
40             <separator
41                   name="group1">
42             </separator>
43          </menu>
44          <action
45                label="Execute Against..."
46                class="com.quantum.actions.ExecuteAgainstAction"
47                menubarPath="com.quantum.menu1/group1"
48                enablesFor="1"
49                id="com.quantum.actions.ExecuteAgainstAction">
50          </action>
51       </objectContribution>
52    </extension>
53 <!--   <extension
54          point="org.eclipse.ui.actionSets">
55       <actionSet
56             label="Execute Query"
57             visible="true"
58             id="com.quantum.actionssets">
59          <action
60                label="Execute Query"
61                icon="icons/play.gif"
62                class="com.quantum.actions.ExecuteAction"
63                tooltip="Execute Query"
64                toolbarPath="quantumGroup"
65                id="com.quantum.actions.ExecuteAction">
66          </action>
67       </actionSet>
68    </extension> -->
69    <extension
70          point="org.eclipse.ui.commands">
71       <category
72             name="%category.name"
73             description="%category.description"
74             id="com.quantum.category">
75       </category>
76       <command
77             name="%command.execute.name"
78             category="com.quantum.category"
79             description="%command.execute.description"
80             id="com.quantum.actions.ExecuteAction">
81       </command>
82       <keyBinding
83             string="Ctrl+Shift+Q"
84             scope="com.quantum.view.sql"
85             command="com.quantum.actions.ExecuteAction"
86             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
87       </keyBinding>
88       <scope
89             name="%scope.name"
90             description="%scope.description"
91             id="com.quantum.view.sql">
92       </scope>
93    </extension>
94 <!-- Perspective -->
95    <extension
96          point="org.eclipse.ui.perspectives">
97       <perspective
98             name="%perspective.name"
99             icon="icons/quantum-ng.gif"
100             class="com.quantum.perspective.DBPerspective"
101             id="com.quantum.dbperspective">
102       </perspective>
103    </extension>
104 <!-- Views -->
105    <extension
106          point="org.eclipse.ui.views">
107       <category
108             name="%category.name"
109             id="com.quantum.views">
110       </category>
111       <view
112             name="%sqllogview.name"
113             icon="icons/log.gif"
114             category="com.quantum.views"
115             class="com.quantum.view.SQLLogView"
116             id="com.quantum.view.logview">
117       </view>
118       <view
119             name="%tableview.name"
120             icon="icons/table.gif"
121             category="com.quantum.views"
122             class="com.quantum.view.tableview.TableView"
123             id="com.quantum.view.tableview.TableView">
124       </view>
125       <view
126             name="%bookmarkview.name"
127             icon="icons/bookmarks.gif"
128             category="com.quantum.views"
129             class="com.quantum.view.bookmark.BookmarkView"
130             id="com.quantum.view.bookmarkview">
131       </view>
132       <view
133             name="%subsetview.name"
134             icon="icons/subset.gif"
135             category="com.quantum.views"
136             class="com.quantum.view.subset.SubsetView"
137             id="com.quantum.view.subsetview">
138       </view>
139       <view
140             name="%sqlqueryview.name"
141             icon="icons/script.gif"
142             category="com.quantum.views"
143             class="com.quantum.view.SQLQueryView"
144             id="com.quantum.view.sqlqueryview">
145       </view>
146    </extension>
147 <!-- Editors -->
148    <extension
149          point="org.eclipse.ui.editors">
150       <editor
151             name="Quantum SQL Editor"
152             extensions="sql,ddl"
153             icon="icons/script.gif"
154             class="com.quantum.editors.SQLEditor"
155             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
156             id="com.quantum.editors.SQLEditor">
157       </editor>
158       <editor
159             name="Table Data Editor"
160             icon="icons/greentable.gif"
161             class="com.quantum.editors.dataeditor.DataEditor"
162             id="com.quantum.editors.dataeditor.DataEditor">
163       </editor>
164    </extension>
165 <!-- Preferences -->
166    <extension
167          point="org.eclipse.ui.preferencePages">
168       <page
169             name="Quantum DB"
170             class="com.quantum.preferences.GlobalPreferences"
171             id="com.quantum.preferences">
172       </page>
173       <page
174             name="SQL Editor"
175             category="com.quantum.preferences"
176             class="com.quantum.preferences.SQLEditorPreferences"
177             id="com.quantum.preferences.editor">
178       </page>
179       <page
180             name="Copy"
181             category="com.quantum.preferences"
182             class="com.quantum.preferences.CopyPreferences"
183             id="com.quantum.preferences.copy">
184       </page>
185       <page
186             name="Custom Copy 1"
187             category="com.quantum.preferences.copy"
188             class="com.quantum.preferences.CustomCopyPreferences"
189             id="com.quantum.preferences.customcopy">
190       </page>
191       <page
192             name="Custom Copy 2"
193             category="com.quantum.preferences.copy"
194             class="com.quantum.preferences.CustomCopyPreferences2"
195             id="com.quantum.preferences.customcopy2">
196       </page>
197       <page
198             name="Custom Copy 3"
199             category="com.quantum.preferences.copy"
200             class="com.quantum.preferences.CustomCopyPreferences3"
201             id="com.quantum.preferences.customcopy3">
202       </page>
203    </extension>
204 <!-- Menu for Bookmark View -->
205    <extension
206          point="org.eclipse.ui.viewActions">
207       <viewContribution
208             targetID="com.quantum.view.bookmarkview"
209             id="com.quantum.view.bookmarkview.menu">
210 <!-- Export Bookmarks -->
211          <action
212                label="%bookmarkview.exportbookmarks"
213                icon="icons/export.gif"
214                class="com.quantum.actions.ExportBookmarksAction"
215                tooltip="Exports bookmarks to a file"
216                menubarPath="additions"
217                id="com.quantum.action.importbookmarks">
218          </action>
219 <!-- Import Bookmarks -->
220          <action
221                label="%bookmarkview.importboomarks "
222                icon="icons/import.gif"
223                class="com.quantum.actions.ImportBookmarksAction"
224                tooltip="Imports bookmarks from a file"
225                menubarPath="additions"
226                id="com.quantum.action.importbookmarks">
227          </action>
228       </viewContribution>
229    </extension>
230    <extension
231          point="org.eclipse.ui.perspectiveExtensions">
232       <perspectiveExtension
233             targetID="org.eclipse.ui.resourcePerspective">
234       </perspectiveExtension>
235    </extension>
236 <!-- Property Pages -->
237    <extension
238          point="org.eclipse.ui.propertyPages">
239       <page
240             objectClass="com.quantum.view.bookmark.TreeNode"
241             name="Database"
242             class="com.quantum.properties.DatabaseInformationPropertyPage"
243             nameFilter="*"
244             id="com.quantum.properties.DatabaseInformationPropertyPage">
245       </page>
246       <page
247             objectClass="com.quantum.view.bookmark.BookmarkNode"
248             name="Bookmark"
249             class="com.quantum.properties.BookmarkPropertyPage"
250             nameFilter="*"
251             id="com.quantum.properties.BookmarkPropertyPage">
252       </page>
253       <page
254             objectClass="com.quantum.view.bookmark.BookmarkNode"
255             name="Schemas"
256             class="com.quantum.properties.SchemaPropertyPage"
257             nameFilter="*"
258             id="com.quantum.properties.SchemaPropertyPage">
259       </page>
260       <page
261             objectClass="com.quantum.view.bookmark.EntityNode"
262             name="Tables, Views and Sequences"
263             class="com.quantum.properties.EntityPropertyPage"
264             nameFilter="*"
265             id="com.quantum.properties.EntityPropertyPage">
266       </page>
267    </extension>
268    <extension
269          point="org.eclipse.ui.exportWizards">
270       <wizard
271             name="Export to Quantum Bookmark File"
272             icon="./icons/bookmarkfile.gif"
273             class="com.quantum.wizards.ExportBookmarkWizard"
274             id="com.quantum.wizards.ExportBookmarkWizard">
275          <description>
276             A wizard that exports the list of database bookmarks to a Quantum bookmark file.
277          </description>
278       </wizard>
279       <wizard
280             name="Export to Torque Configuration File"
281             icon="./icons/torque.gif"
282             class="com.quantum.wizards.ExportTorqueWizard"
283             id="com.quantum.wizards.ExportTorqueWizard">
284          <description>
285             A wizard that exports the database structure to a Torque-compatible XML file.
286          </description>
287          <selection
288                class="com.quantum.view.bookmark.BookmarkNode">
289          </selection>
290       </wizard>
291    </extension>
292    <extension
293          point="org.eclipse.help.toc">
294       <toc
295             file="doc/toc.xml"
296             primary="true">
297       </toc>
298    </extension>
299
300 </plugin>