55747912b3ddcd70360aeb78dd19cd82601f139d
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="net.sourceforge.phpeclipse.sql"
4    name="%phpsql.name"
5    version="1.0.2"
6    provider-name="eclipseproject.de"
7    class="net.sourceforge.phpdt.sql.PHPEclipseSQLPlugin">
8
9    <runtime>
10       <library name="phpeclipsesql.jar"/>
11    </runtime>
12    <requires>
13       <import plugin="org.eclipse.core.boot"/>
14       <import plugin="org.eclipse.core.runtime"/>
15       <import plugin="org.eclipse.core.resources"/>
16       <import plugin="org.eclipse.swt"/>
17       <import plugin="org.eclipse.ui"/>
18    </requires>
19
20
21 <!-- Perspective -->
22    <extension
23          point="org.eclipse.ui.perspectives">
24       <perspective
25             name="%perspective.name"
26             icon="icons/phpsql.gif"
27             class="net.sourceforge.phpdt.sql.perspective.DBPerspective"
28             id="net.sourceforge.phpdt.sql.dbperspective">
29       </perspective>
30    </extension>
31 <!-- Views -->
32    <extension
33          point="org.eclipse.ui.views">
34       <category
35             name="%category.name"
36             id="net.sourceforge.phpdt.sql.views">
37       </category>
38       <view
39             name="%sqllogview.name"
40             icon="icons/log.gif"
41             category="net.sourceforge.phpdt.sql.views"
42             class="net.sourceforge.phpdt.sql.view.SQLLogView"
43             id="net.sourceforge.phpdt.sql.view.logview">
44       </view>
45       <view
46             name="%queryhistoryview.name"
47             icon="icons/script.gif"
48             category="net.sourceforge.phpdt.sql.views"
49             class="net.sourceforge.phpdt.sql.view.QueryHistoryView"
50             id="net.sourceforge.phpdt.sql.view.queryhistoryview">
51       </view>
52       <view
53             name="%tableview.name"
54             icon="icons/table.gif"
55             category="net.sourceforge.phpdt.sql.views"
56             class="net.sourceforge.phpdt.sql.view.TableView"
57             id="net.sourceforge.phpdt.sql.view.tableview">
58       </view>
59       <view
60             name="%bookmarkview.name"
61             icon="icons/bookmarks.gif"
62             category="net.sourceforge.phpdt.sql.views"
63             class="net.sourceforge.phpdt.sql.view.BookmarkView"
64             id="net.sourceforge.phpdt.sql.view.bookmarkview">
65       </view>
66       <view
67             name="%sqlqueryview.name"
68             icon="icons/script.gif"
69             category="net.sourceforge.phpdt.sql.views"
70             class="net.sourceforge.phpdt.sql.view.SQLQueryView"
71             id="net.sourceforge.phpdt.sql.view.sqlqueryview">
72       </view>
73    </extension>
74    <extension
75          point="org.eclipse.ui.views">
76       <view
77             name="%phpsourceconsoleview.name"
78             icon="icons/script.gif"
79             class="net.sourceforge.phpdt.sql.view.PHPSourceConsole"
80             id="net.sourceforge.phpdt.sql.view.phpsourceconsoleview">
81       </view>
82    </extension>
83 <!-- Editors -->
84    <extension
85          point="org.eclipse.ui.editors">
86       <editor
87             name="PHPEclipse SQL Editor"
88             icon="icons/script.gif"
89             extensions="sql,ddl"
90             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
91             class="net.sourceforge.phpdt.sql.editors.SQLEditor"
92             id="net.sourceforge.phpdt.sql.editors.SQLEditor">
93       </editor>
94    </extension>
95 <!-- Preferences -->
96    <extension
97          point="org.eclipse.ui.preferencePages">
98       <page
99             name="PHP SQL"
100             class="net.sourceforge.phpdt.sql.preferences.PreferencesPage"
101             id="net.sourceforge.phpdt.sql.preferences.PreferencesPage">
102       </page>
103       <page
104             name="Connecting"
105             category="net.sourceforge.phpdt.sql.preferences.PreferencesPage"
106             class="net.sourceforge.phpdt.sql.preferences.PHPSQLConnectionPreferencePage"
107             id="net.sourceforge.phpdt.sql.preferences.PHPSQLConnectionPreferencePage">        
108       </page>
109       <page
110             name="Templates"
111             category="net.sourceforge.phpdt.sql.preferences.PreferencesPage"
112             class="net.sourceforge.phpdt.sql.preferences.PHPSQLTemplatesPreferencePage"
113             id="net.sourceforge.phpdt.sql.preferences.PHPSQLTemplatesPreferencePage">        
114       </page>
115    </extension>
116 <!-- Menu for Bookmark View -->
117    <extension
118          point="org.eclipse.ui.viewActions">
119       <viewContribution
120             targetID="net.sourceforge.phpdt.sql.view.bookmarkview"
121             id="net.sourceforge.phpdt.sql.view.bookmarkview.menu">
122 <!-- Export Bookmarks -->
123          <action
124                label="%bookmarkview.exportbookmarks"
125                icon="icons/export.gif"
126                tooltip="Exports bookmarks to a file"
127                class="net.sourceforge.phpdt.sql.actions.ExportBookmarksAction"
128                menubarPath="additions"
129                id="net.sourceforge.phpdt.sql.action.importbookmarks">
130          </action>
131 <!-- Import Bookmarks -->
132          <action
133                label="%bookmarkview.importboomarks "
134                icon="icons/import.gif"
135                tooltip="Imports bookmarks from a file"
136                class="net.sourceforge.phpdt.sql.actions.ImportBookmarksAction"
137                menubarPath="additions"
138                id="net.sourceforge.phpdt.sql.action.importbookmarks">
139          </action>
140       </viewContribution>
141    </extension>
142
143 </plugin>