Fixed Bug<a href="http://sourceforge.net/tracker/?func=detail&atid=484801&aid=1145683...
[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="PHPEclipse Project"
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       <import plugin="org.apache.xerces"/>
19    </requires>
20
21
22 <!-- Perspective -->
23    <extension
24          point="org.eclipse.ui.perspectives">
25       <perspective
26             name="%perspective.name"
27             icon="icons/phpsql.gif"
28             class="net.sourceforge.phpdt.sql.perspective.DBPerspective"
29             id="net.sourceforge.phpdt.sql.dbperspective">
30       </perspective>
31    </extension>
32 <!-- Views -->
33    <extension
34          point="org.eclipse.ui.views">
35       <category
36             name="%category.name"
37             id="net.sourceforge.phpdt.sql.views">
38       </category>
39       <view
40             name="%sqllogview.name"
41             icon="icons/log.gif"
42             category="net.sourceforge.phpdt.sql.views"
43             class="net.sourceforge.phpdt.sql.view.SQLLogView"
44             id="net.sourceforge.phpdt.sql.view.logview">
45       </view>
46       <view
47             name="%queryhistoryview.name"
48             icon="icons/script.gif"
49             category="net.sourceforge.phpdt.sql.views"
50             class="net.sourceforge.phpdt.sql.view.QueryHistoryView"
51             id="net.sourceforge.phpdt.sql.view.queryhistoryview">
52       </view>
53       <view
54             name="%tableview.name"
55             icon="icons/table.gif"
56             category="net.sourceforge.phpdt.sql.views"
57             class="net.sourceforge.phpdt.sql.view.TableView"
58             id="net.sourceforge.phpdt.sql.view.tableview">
59       </view>
60       <view
61             name="%bookmarkview.name"
62             icon="icons/bookmarks.gif"
63             category="net.sourceforge.phpdt.sql.views"
64             class="net.sourceforge.phpdt.sql.view.BookmarkView"
65             id="net.sourceforge.phpdt.sql.view.bookmarkview">
66       </view>
67       <view
68             name="%sqlqueryview.name"
69             icon="icons/script.gif"
70             category="net.sourceforge.phpdt.sql.views"
71             class="net.sourceforge.phpdt.sql.view.SQLQueryView"
72             id="net.sourceforge.phpdt.sql.view.sqlqueryview">
73       </view>
74    </extension>
75    <extension
76          point="org.eclipse.ui.views">
77       <view
78             name="%phpsourceconsoleview.name"
79             icon="icons/script.gif"
80             class="net.sourceforge.phpdt.sql.view.PHPSourceConsole"
81             id="net.sourceforge.phpdt.sql.view.phpsourceconsoleview">
82       </view>
83    </extension>
84 <!-- Editors -->
85    <extension
86          point="org.eclipse.ui.editors">
87       <editor
88             name="PHPEclipse SQL Editor"
89             icon="icons/script.gif"
90             extensions="sql,ddl"
91             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
92             class="net.sourceforge.phpdt.sql.editors.SQLEditor"
93             id="net.sourceforge.phpdt.sql.editors.SQLEditor">
94       </editor>
95    </extension>
96 <!-- Preferences -->
97    <extension
98          point="org.eclipse.ui.preferencePages">
99       <page
100             name="PHP SQL"
101             class="net.sourceforge.phpdt.sql.preferences.PreferencesPage"
102             id="net.sourceforge.phpdt.sql.preferences.PreferencesPage">
103       </page>
104       <page
105             name="Connecting"
106             category="net.sourceforge.phpdt.sql.preferences.PreferencesPage"
107             class="net.sourceforge.phpdt.sql.preferences.PHPSQLConnectionPreferencePage"
108             id="net.sourceforge.phpdt.sql.preferences.PHPSQLConnectionPreferencePage">
109       </page>
110       <page
111             name="Templates"
112             category="net.sourceforge.phpdt.sql.preferences.PreferencesPage"
113             class="net.sourceforge.phpdt.sql.preferences.PHPSQLTemplatesPreferencePage"
114             id="net.sourceforge.phpdt.sql.preferences.PHPSQLTemplatesPreferencePage">
115       </page>
116    </extension>
117 <!-- Menu for Bookmark View -->
118    <extension
119          point="org.eclipse.ui.viewActions">
120       <viewContribution
121             targetID="net.sourceforge.phpdt.sql.view.bookmarkview"
122             id="net.sourceforge.phpdt.sql.view.bookmarkview.menu">
123 <!-- Export Bookmarks -->
124          <action
125                label="%bookmarkview.exportbookmarks"
126                icon="icons/export.gif"
127                tooltip="Exports bookmarks to a file"
128                class="net.sourceforge.phpdt.sql.actions.ExportBookmarksAction"
129                menubarPath="additions"
130                id="net.sourceforge.phpdt.sql.action.importbookmarks">
131          </action>
132 <!-- Import Bookmarks -->
133          <action
134                label="%bookmarkview.importboomarks "
135                icon="icons/import.gif"
136                tooltip="Imports bookmarks from a file"
137                class="net.sourceforge.phpdt.sql.actions.ImportBookmarksAction"
138                menubarPath="additions"
139                id="net.sourceforge.phpdt.sql.action.importbookmarks">
140          </action>
141       </viewContribution>
142    </extension>
143
144 </plugin>