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