c67afd9723137e8e049cf06820bc191a77fb4a30
[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       <view
151             name="%phpsourceconsoleview.name"
152             icon="icons/script.gif"
153             class="com.quantum.view.PHPSourceConsole"
154             id="com.quantum.view.phpsourceconsoleview">
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="PHP SQL(Quantum DB)"
180             class="com.quantum.preferences.GlobalPreferences"
181             id="com.quantum.preferences">
182       </page>
183       <page
184             name="SQL Editor"
185             category="com.quantum.preferences"
186             class="com.quantum.preferences.SQLEditorPreferences"
187             id="com.quantum.preferences.editor">
188       </page>
189       <page
190             name="Copy"
191             category="com.quantum.preferences"
192             class="com.quantum.preferences.CopyPreferences"
193             id="com.quantum.preferences.copy">
194       </page>
195     <!--  <page
196             name="Custom Copy 1"
197             category="com.quantum.preferences.copy"
198             class="com.quantum.preferences.CustomCopyPreferences"
199             id="com.quantum.preferences.customcopy">
200       </page>
201       <page
202             name="Custom Copy 2"
203             category="com.quantum.preferences.copy"
204             class="com.quantum.preferences.CustomCopyPreferences2"
205             id="com.quantum.preferences.customcopy2">
206       </page>
207       <page
208             name="Custom Copy 3"
209             category="com.quantum.preferences.copy"
210             class="com.quantum.preferences.CustomCopyPreferences3"
211             id="com.quantum.preferences.customcopy3">
212       </page> -->
213       <page
214             name="PHP Connecting"
215             category="com.quantum.preferences"
216             class="com.quantum.preferences.php.PHPSQLConnectionPreferencePage"
217             id="com.quantum.preferences.php.PHPSQLConnectionPreferencePage">
218       </page>
219       <page
220             name="PHP Templates"
221             category="com.quantum.preferences"
222             class="com.quantum.preferences.php.PHPSQLTemplatesPreferencePage"
223             id="com.quantum.preferences.php.PHPSQLTemplatesPreferencePage">
224       </page>
225    </extension>
226 <!-- Menu for Bookmark View -->
227    <extension
228          point="org.eclipse.ui.viewActions">
229       <viewContribution
230             targetID="com.quantum.view.bookmarkview"
231             id="com.quantum.view.bookmarkview.menu">
232 <!-- Export Bookmarks -->
233          <action
234                label="%bookmarkview.exportbookmarks"
235                icon="icons/export.gif"
236                tooltip="Exports bookmarks to a file"
237                class="com.quantum.actions.ExportBookmarksAction"
238                menubarPath="additions"
239                id="com.quantum.action.importbookmarks">
240          </action>
241 <!-- Import Bookmarks -->
242          <action
243                label="%bookmarkview.importboomarks "
244                icon="icons/import.gif"
245                tooltip="Imports bookmarks from a file"
246                class="com.quantum.actions.ImportBookmarksAction"
247                menubarPath="additions"
248                id="com.quantum.action.importbookmarks">
249          </action>
250       </viewContribution>
251    </extension>
252    <extension
253          point="org.eclipse.ui.perspectiveExtensions">
254       <perspectiveExtension
255             targetID="org.eclipse.ui.resourcePerspective">
256       </perspectiveExtension>
257    </extension>
258 <!-- Property Pages -->
259    <extension
260          point="org.eclipse.ui.propertyPages">
261       <page
262             objectClass="com.quantum.view.bookmark.TreeNode"
263             name="Database"
264             nameFilter="*"
265             class="com.quantum.properties.DatabaseInformationPropertyPage"
266             id="com.quantum.properties.DatabaseInformationPropertyPage">
267       </page>
268       <page
269             objectClass="com.quantum.view.bookmark.BookmarkNode"
270             name="Bookmark"
271             nameFilter="*"
272             class="com.quantum.properties.BookmarkPropertyPage"
273             id="com.quantum.properties.BookmarkPropertyPage">
274       </page>
275       <page
276             objectClass="com.quantum.view.bookmark.BookmarkNode"
277             name="Schemas"
278             nameFilter="*"
279             class="com.quantum.properties.SchemaPropertyPage"
280             id="com.quantum.properties.SchemaPropertyPage">
281       </page>
282       <page
283             objectClass="com.quantum.view.bookmark.EntityNode"
284             name="Tables, Views and Sequences"
285             nameFilter="*"
286             class="com.quantum.properties.EntityPropertyPage"
287             id="com.quantum.properties.EntityPropertyPage">
288       </page>
289    </extension>
290    <extension
291          point="org.eclipse.ui.exportWizards">
292       <wizard
293             name="Export to Quantum Bookmark File"
294             icon="./icons/bookmarkfile.gif"
295             class="com.quantum.wizards.ExportBookmarkWizard"
296             id="com.quantum.wizards.ExportBookmarkWizard">
297          <description>
298             A wizard that exports the list of database bookmarks to a Quantum bookmark file.
299          </description>
300       </wizard>
301       <wizard
302             name="Export to Torque Configuration File"
303             icon="./icons/torque.gif"
304             class="com.quantum.wizards.ExportTorqueWizard"
305             id="com.quantum.wizards.ExportTorqueWizard">
306          <description>
307             A wizard that exports the database structure to a Torque-compatible XML file.
308          </description>
309          <selection
310                class="com.quantum.view.bookmark.BookmarkNode">
311          </selection>
312       </wizard>
313    </extension>
314    <extension
315          point="org.eclipse.help.toc">
316       <toc
317             file="doc/toc.xml"
318             primary="true">
319       </toc>
320    </extension>
321
322 </plugin>