updated ant build.xml
[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.4.2"
7    provider-name="The QuantumDB Development Team"
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 name="%driverview.name" 
123             icon="icons/driver.gif" 
124             category="com.quantum.views" 
125             class="com.quantum.view.driver.JDBCDriverView" 
126             id="com.quantum.view.JDBCDriverView">
127       </view> 
128       <view
129             name="%tableview.name"
130             icon="icons/table.gif" 
131             category="com.quantum.views"
132             class="com.quantum.view.tableview.TableView"
133             id="com.quantum.view.tableview.TableView">
134       </view>
135       <view
136             name="%bookmarkview.name"
137             icon="icons/bookmarks.gif"
138             category="com.quantum.views"
139             class="com.quantum.view.bookmark.BookmarkView"
140             id="com.quantum.view.bookmarkview">
141       </view>
142       <view
143             name="%subsetview.name"
144             icon="icons/subset.gif"
145             category="com.quantum.views"
146             class="com.quantum.view.subset.SubsetView"
147             id="com.quantum.view.subsetview">
148       </view>
149       <view
150             name="%sqlqueryview.name"
151             icon="icons/script.gif"
152             category="com.quantum.views"
153             class="com.quantum.view.SQLQueryView"
154             id="com.quantum.view.sqlqueryview">
155       </view>
156    </extension>
157 <!-- Editors -->
158    <extension
159          point="org.eclipse.ui.editors">
160       <editor
161             name="Quantum SQL Editor"
162             icon="icons/script.gif"
163             extensions="sql,ddl"
164             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
165             class="com.quantum.editors.SQLEditor"
166             id="com.quantum.editors.SQLEditor">
167       </editor>
168    <!--   <editor
169             name="Table Data Editor"
170             icon="icons/greentable.gif"
171             class="com.quantum.editors.dataeditor.DataEditor"
172             id="com.quantum.editors.dataeditor.DataEditor">
173       </editor> -->
174    </extension>
175 <!-- Preferences -->
176    <extension
177          point="org.eclipse.ui.preferencePages">
178       <page
179             name="SQL (Quantum DB)"
180             category="net.sourceforge.phpeclipse.ui.preferencePage"
181             class="com.quantum.preferences.GlobalPreferences"
182             id="com.quantum.preferences">
183       </page>
184       <page
185             name="SQL Editor"
186             category="com.quantum.preferences"
187             class="com.quantum.preferences.SQLEditorPreferences"
188             id="com.quantum.preferences.editor">
189       </page>
190    <!--   <page
191             name="Copy"
192             category="com.quantum.preferences"
193             class="com.quantum.preferences.CopyPreferences"
194             id="com.quantum.preferences.copy">
195       </page>
196       <page
197             name="Custom Copy 1"
198             category="com.quantum.preferences.copy"
199             class="com.quantum.preferences.CustomCopyPreferences"
200             id="com.quantum.preferences.customcopy">
201       </page>
202       <page
203             name="Custom Copy 2"
204             category="com.quantum.preferences.copy"
205             class="com.quantum.preferences.CustomCopyPreferences2"
206             id="com.quantum.preferences.customcopy2">
207       </page>
208       <page
209             name="Custom Copy 3"
210             category="com.quantum.preferences.copy"
211             class="com.quantum.preferences.CustomCopyPreferences3"
212             id="com.quantum.preferences.customcopy3">
213       </page> 
214       <page
215             name="PHP Connecting"
216             category="com.quantum.preferences"
217             class="com.quantum.php.preferences.PHPSQLConnectionPreferencePage"
218             id="com.quantum.php.preferences.PHPSQLConnectionPreferencePage">
219       </page> -->
220       <page
221             name="PHP SQL Templates"
222             category="com.quantum.preferences"
223             class="com.quantum.php.preferences.PHPSQLTemplatesPreferencePage"
224             id="com.quantum.php.preferences.PHPSQLTemplatesPreferencePage">
225       </page>
226    </extension>
227 <!-- Menu for Bookmark View -->
228    <extension
229          point="org.eclipse.ui.viewActions">
230       <viewContribution
231             targetID="com.quantum.view.bookmarkview"
232             id="com.quantum.view.bookmarkview.menu">
233 <!-- Export Bookmarks -->
234          <action
235                label="%bookmarkview.exportbookmarks"
236                icon="icons/export.gif"
237                tooltip="Exports bookmarks to a file"
238                class="com.quantum.actions.ExportBookmarksAction"
239                menubarPath="additions"
240                id="com.quantum.action.importbookmarks">
241          </action>
242 <!-- Import Bookmarks -->
243          <action
244                label="%bookmarkview.importboomarks "
245                icon="icons/import.gif"
246                tooltip="Imports bookmarks from a file"
247                class="com.quantum.actions.ImportBookmarksAction"
248                menubarPath="additions"
249                id="com.quantum.action.importbookmarks">
250          </action>
251       </viewContribution>
252    </extension>
253    <extension
254          point="org.eclipse.ui.perspectiveExtensions">
255       <perspectiveExtension
256             targetID="org.eclipse.ui.resourcePerspective">
257       </perspectiveExtension>
258    </extension>
259 <!-- Property Pages -->
260    <extension
261          point="org.eclipse.ui.propertyPages">
262       <page
263             objectClass="com.quantum.view.bookmark.TreeNode"
264             name="Database"
265             nameFilter="*"
266             class="com.quantum.properties.DatabaseInformationPropertyPage"
267             id="com.quantum.properties.DatabaseInformationPropertyPage">
268       </page>
269       <page
270             objectClass="com.quantum.view.bookmark.TreeNode"
271             name="Data Types"
272             nameFilter="*"
273             class="com.quantum.properties.DataTypesPropertyPage"
274             id="com.quantum.properties.DataTypesPropertyPage">
275       </page>
276       <page
277             objectClass="com.quantum.view.bookmark.BookmarkNode"
278             name="Bookmark"
279             nameFilter="*"
280             class="com.quantum.properties.BookmarkPropertyPage"
281             id="com.quantum.properties.BookmarkPropertyPage">
282       </page>
283       <page
284             objectClass="com.quantum.view.bookmark.BookmarkNode"
285             name="Schemas"
286             nameFilter="*"
287             class="com.quantum.properties.SchemaPropertyPage"
288             id="com.quantum.properties.SchemaPropertyPage">
289       </page>
290       <page
291             objectClass="com.quantum.model.EntityHolder"
292             name="Columns"
293             nameFilter="*"
294             class="com.quantum.properties.ColumnPropertyPage"
295             id="com.quantum.properties.ColumnPropertyPage">
296       </page>
297       <page
298             objectClass="com.quantum.model.EntityHolder"
299             name="Indices"
300             nameFilter="*"
301             class="com.quantum.properties.IndexPropertyPage"
302             id="com.quantum.properties.IndexPropertyPage">
303       </page>
304       <page
305             objectClass="com.quantum.model.EntityHolder"
306             name="References"
307             nameFilter="*"
308             class="com.quantum.properties.ReferencesPropertyPage"
309             id="com.quantum.properties.ReferencesPropertyPage">
310       </page>
311    </extension>
312    <extension
313          point="org.eclipse.ui.exportWizards">
314       <wizard
315             name="Export to Quantum Bookmark File"
316             icon="./icons/bookmarkfile.gif"
317             class="com.quantum.wizards.ExportBookmarkWizard"
318             id="com.quantum.wizards.ExportBookmarkWizard">
319          <description>
320             A wizard that exports the list of database bookmarks to a Quantum bookmark file.
321          </description>
322       </wizard>
323  <!--     <wizard
324             name="Export to Torque Configuration File"
325             icon="./icons/torque.gif"
326             class="com.quantum.wizards.ExportTorqueWizard"
327             id="com.quantum.wizards.ExportTorqueWizard">
328          <description>
329             A wizard that exports the database structure to a Torque-compatible XML file.
330          </description>
331          <selection
332                class="com.quantum.view.bookmark.BookmarkNode">
333          </selection>
334       </wizard> -->
335    </extension>
336    <extension
337          point="org.eclipse.help.toc">
338       <toc
339             file="doc/toc.xml"
340             primary="true">
341       </toc>
342    </extension>
343
344 </plugin>