blob: 9c2fd4b5d329275b264bcc00e3f190c89487c7ff [file] [log] [blame]
ndaib94eb262004-10-13 15:55:37 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<plugin id="org.eclipse.wst.server.ui"
5 name="%pluginName"
deboerda1df6a2004-12-03 13:35:32 +00006 version="1.0.0"
ndaib94eb262004-10-13 15:55:37 +00007 provider-name="%providerName"
8 class="org.eclipse.wst.server.ui.internal.ServerUIPlugin">
9
10<requires>
ndai9ddecce2004-10-23 16:51:47 +000011 <import plugin="org.eclipse.core.runtime"/>
12 <import plugin="org.eclipse.core.resources"/>
deboere4ce1452004-11-02 23:30:56 +000013 <import plugin="org.eclipse.core.expressions"/>
ndai9ddecce2004-10-23 16:51:47 +000014 <import plugin="org.eclipse.ui"/>
15 <import plugin="org.eclipse.ui.ide"/>
ndai9ddecce2004-10-23 16:51:47 +000016 <import plugin="org.eclipse.ui.forms"/>
17 <import plugin="org.eclipse.ui.workbench.texteditor"/>
18 <import plugin="org.eclipse.debug.core"/>
19 <import plugin="org.eclipse.debug.ui"/>
20 <import plugin="org.eclipse.wst.server.core"/>
ndaib94eb262004-10-13 15:55:37 +000021</requires>
22
23<runtime>
24 <library name="serverui.jar">
25 <export name="*"/>
ndaib94eb262004-10-13 15:55:37 +000026 </library>
27</runtime>
28
29 <extension-point id="editorPages" name="%extensionPointEditorPages" schema="schema/editorPages.exsd"/>
30 <extension-point id="editorPageSections" name="%extensionPointEditorPageSections" schema="schema/editorPageSections.exsd"/>
31 <extension-point id="editorActions" name="%extensionPointEditorActions" schema="schema/editorActions.exsd"/>
ndaib94eb262004-10-13 15:55:37 +000032 <extension-point id="serverImages" name="%extensionPointServerImages" schema="schema/serverImages.exsd"/>
33 <extension-point id="wizardFragments" name="%extensionPointWizardFragments" schema="schema/wizardFragments.exsd"/>
34
35<extension point="org.eclipse.ui.ide.projectNatureImages">
36 <image
37 id="org.eclipse.wst.server.ui.projectNatureImage"
38 natureId="org.eclipse.wst.server.core.nature"
39 icon="icons/ovr16/server_ovr.gif"/>
40</extension>
41
42<extension point="org.eclipse.ui.newWizards">
43 <category
44 id="org.eclipse.wst.server.ui"
45 name="%wizardCategoryTitle"/>
ndaib94eb262004-10-13 15:55:37 +000046
47 <wizard
48 id="org.eclipse.wst.server.ui.new.server"
49 name="%newServer"
50 class="org.eclipse.wst.server.ui.internal.wizard.NewServerWizard"
51 category="org.eclipse.wst.server.ui"
52 icon="icons/ctool16/wiz_new_server.gif">
53 <description>%newServerDescription</description>
54 </wizard>
55</extension>
56
deboerda1df6a2004-12-03 13:35:32 +000057<!--
ndaib94eb262004-10-13 15:55:37 +000058<extension point="org.eclipse.ui.importWizards">
59 <wizard
60 id="org.eclipse.wst.server.ui.import.configuration"
61 name="%importServerConfiguration"
62 class="org.eclipse.wst.server.ui.internal.wizard.ImportServerConfigurationWizard"
63 icon="icons/ctool16/wiz_import_configuration.gif">
64 <description>%importServerConfigurationDescription</description>
65 </wizard>
66</extension>
deboerda1df6a2004-12-03 13:35:32 +000067-->
ndaib94eb262004-10-13 15:55:37 +000068
69<extension point="org.eclipse.ui.views">
70 <category
71 id="org.eclipse.wst.server.ui"
72 name="%viewCategoryTitle"/>
73
74 <view
75 id="org.eclipse.wst.server.ui.ServersView"
76 name="%viewServersTitle"
77 category="org.eclipse.wst.server.ui"
78 class="org.eclipse.wst.server.ui.internal.view.servers.ServersView"
79 icon="icons/cview16/servers_view.gif"/>
80</extension>
81
82<extension point="org.eclipse.ui.perspectiveExtensions">
83 <perspectiveExtension
84 targetID="org.eclipse.debug.ui.DebugPerspective">
85 <view
86 relative="org.eclipse.debug.ui.DebugView"
87 relationship="stack"
88 id="org.eclipse.wst.server.ui.ServersView">
89 </view>
90 </perspectiveExtension>
91</extension>
92
93<extension point="org.eclipse.ui.preferencePages">
94 <page
95 id="org.eclipse.wst.server.ui.preferencePage"
96 name="%preferenceServersTitle"
97 class="org.eclipse.wst.server.ui.internal.ServerPreferencePage"/>
98 <page
99 id="org.eclipse.wst.server.ui.runtime.preferencePage"
100 name="%preferenceRuntimesTitle"
101 category="org.eclipse.wst.server.ui.preferencePage"
102 class="org.eclipse.wst.server.ui.internal.RuntimePreferencePage"/>
103</extension>
104
105<extension point="org.eclipse.ui.editors">
106 <editor id="org.eclipse.wst.server.ui.editor"
107 name="%serverEditor"
108 icon="icons/obj16/server.gif"
deboer7d006642005-01-18 23:33:50 +0000109 extensions="server"
ndaib94eb262004-10-13 15:55:37 +0000110 default="true"
111 class="org.eclipse.wst.server.ui.internal.editor.ServerEditor"
112 contributorClass="org.eclipse.wst.server.ui.internal.editor.ServerEditorActionBarContributor"/>
113</extension>
114
115<extension point="org.eclipse.ui.elementFactories">
116 <factory id="org.eclipse.wst.server.ui.editor.input.factory"
117 class="org.eclipse.wst.server.ui.internal.editor.ServerEditorInputFactory"/>
118</extension>
119
120<extension point="org.eclipse.ui.propertyPages">
121 <page
122 id="org.eclipse.wst.server.ui.project.properties"
123 name="%propertiesServer"
124 objectClass="org.eclipse.core.resources.IProject"
125 adaptable="true"
126 class="org.eclipse.wst.server.ui.internal.ProjectPropertyPage"/>
127</extension>
128
129<extension point="org.eclipse.ui.actionSets">
130 <actionSet
131 id="org.eclipse.wst.server.ui.new.actionSet"
132 label="%actionSetTitle"
133 visible="false">
134 <action
135 id="org.eclipse.wst.server.ui.action.new.server"
136 toolbarPath="servers"
137 label="%actionSetNewServer"
138 tooltip="%actionSetNewServer"
139 icon="icons/ctool16/wiz_new_server.gif"
140 class="org.eclipse.wst.server.ui.internal.actions.NewServerAction"/>
ndaib94eb262004-10-13 15:55:37 +0000141 </actionSet>
142</extension>
143
144<extension point="org.eclipse.debug.ui.launchShortcuts">
145 <shortcut id="org.eclipse.wst.server.core.launchShortcut"
146 label="%serverLaunchShortcut"
147 class="org.eclipse.wst.server.ui.internal.ServerLaunchShortcut"
148 modes="run, debug, profile"
149 path="aa"
150 icon="icons/etool16/run_on_server.gif">
151 <contextualLaunch>
152 <enablement>
153 <with variable="selection">
154 <count value="1"/>
deboere4ce1452004-11-02 23:30:56 +0000155 <iterate>
deboer58226532005-01-19 20:52:43 +0000156 <test property="org.eclipse.wst.server.ui.isRunnable" value="true"/>
deboere4ce1452004-11-02 23:30:56 +0000157 </iterate>
ndaib94eb262004-10-13 15:55:37 +0000158 </with>
159 </enablement>
160
161 <contextLabel
162 mode="run"
163 label="%actionRunOnServer"/>
164 <contextLabel
165 mode="debug"
166 label="%actionDebugOnServer"/>
167 <contextLabel
168 mode="profile"
169 label="%actionProfileOnServer"/>
170 </contextualLaunch>
deboere4ce1452004-11-02 23:30:56 +0000171 <perspective id="org.eclipse.wst.server.ui.perspective"/>
ndaib94eb262004-10-13 15:55:37 +0000172 <perspective id="org.eclipse.jdt.ui.JavaPerspective"/>
173 <perspective id="org.eclipse.jdt.ui.JavaHierarchyPerspective"/>
174 <perspective id="org.eclipse.jdt.ui.JavaBrowsingPerspective"/>
175 <perspective id="org.eclipse.debug.ui.DebugPerspective"/>
176 <perspective id="com.ibm.etools.j2ee.J2EEPerspective"/>
deboere4ce1452004-11-02 23:30:56 +0000177 <perspective id="org.eclipse.ui.resourcePerspective"/>
ndaib94eb262004-10-13 15:55:37 +0000178 </shortcut>
179</extension>
180
deboere4ce1452004-11-02 23:30:56 +0000181<extension point="org.eclipse.core.expressions.propertyTesters">
182 <propertyTester
183 id="org.eclipse.wst.server.ui.propertyTester"
184 namespace="org.eclipse.wst.server.ui"
185 properties="isRunnable"
186 type="java.lang.Object"
187 class="org.eclipse.wst.server.ui.internal.ServerPropertyTester">
188 </propertyTester>
189</extension>
190
deboer7d006642005-01-18 23:33:50 +0000191 <extension point="org.eclipse.ui.popupMenus">
192 <objectContribution
193 id="org.eclipse.wst.server.ui.popupMenu"
194 objectClass="org.eclipse.wst.server.core.IServer"
195 adaptable="true">
196 <action
197 id="org.eclipse.wst.server.ui.action.modifyModules"
198 label="%actionModifyModules"
199 icon="icons/ctool16/wiz_modify_modules.gif"
200 class="org.eclipse.wst.server.ui.internal.actions.ModifyModulesAction">
201 </action>
202 </objectContribution>
203 </extension>
ndaib94eb262004-10-13 15:55:37 +0000204
deboer7d006642005-01-18 23:33:50 +0000205 <extension point="org.eclipse.wst.server.ui.editorPages">
206 <page
207 id="org.eclipse.wst.server.editor.overview"
208 order="-10000"
209 name="%serverEditorOverviewPage"
210 typeIds="*"
211 insertionIds="org.eclipse.wst.server.editor.overview.left, org.eclipse.wst.server.editor.overview.right"
212 class="org.eclipse.wst.server.ui.internal.editor.OverviewEditorFactory"/>
213 </extension>
214
215 <extension point="org.eclipse.core.runtime.adapters">
216 <factory
217 class="org.eclipse.wst.server.ui.internal.ServerAdapterFactory"
218 adaptableType="org.eclipse.wst.server.core.IServer">
219 <adapter type="org.eclipse.ui.IActionFilter"/>
220 </factory>
221 </extension>
ndaib94eb262004-10-13 15:55:37 +0000222
223</plugin>