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