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