new sql.gif
[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.1"
7    provider-name="Tom Schneider, Julen Parra, BC Holmes, JSurfer.de"
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="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.php.preferences.PHPSQLConnectionPreferencePage"
217             id="com.quantum.php.preferences.PHPSQLConnectionPreferencePage">
218       </page>
219       <page
220             name="PHP Templates"
221             category="com.quantum.preferences"
222             class="com.quantum.php.preferences.PHPSQLTemplatesPreferencePage"
223             id="com.quantum.php.preferences.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.model.EntityHolder"
284             name="Columns"
285             nameFilter="*"
286             class="com.quantum.properties.ColumnPropertyPage"
287             id="com.quantum.properties.ColumnPropertyPage">
288       </page>
289       <page
290             objectClass="com.quantum.model.EntityHolder"
291             name="Indices"
292             nameFilter="*"
293             class="com.quantum.properties.IndexPropertyPage"
294             id="com.quantum.properties.IndexPropertyPage">
295       </page>
296       <page
297             objectClass="com.quantum.model.EntityHolder"
298             name="References"
299             nameFilter="*"
300             class="com.quantum.properties.ReferencesPropertyPage"
301             id="com.quantum.properties.ReferencesPropertyPage">
302       </page>
303    </extension>
304    <extension
305          point="org.eclipse.ui.exportWizards">
306       <wizard
307             name="Export to Quantum Bookmark File"
308             icon="./icons/bookmarkfile.gif"
309             class="com.quantum.wizards.ExportBookmarkWizard"
310             id="com.quantum.wizards.ExportBookmarkWizard">
311          <description>
312             A wizard that exports the list of database bookmarks to a Quantum bookmark file.
313          </description>
314       </wizard>
315       <wizard
316             name="Export to Torque Configuration File"
317             icon="./icons/torque.gif"
318             class="com.quantum.wizards.ExportTorqueWizard"
319             id="com.quantum.wizards.ExportTorqueWizard">
320          <description>
321             A wizard that exports the database structure to a Torque-compatible XML file.
322          </description>
323          <selection
324                class="com.quantum.view.bookmark.BookmarkNode">
325          </selection>
326       </wizard>
327    </extension>
328    <extension
329          point="org.eclipse.help.toc">
330       <toc
331             file="doc/toc.xml"
332             primary="true">
333       </toc>
334    </extension>
335
336 </plugin>