blob: e01847365175224136dbaa128c43ae10da9b72ce [file] [log] [blame]
hcaoc2b40512006-01-06 14:48:22 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin>
hcao2250d6f2007-03-20 23:56:11 +00004 <extension-point id="sourceLocatorProvider" name="Routine Source Locator Provider" schema="schema/sourceLocatorProvider.exsd"/>
hcaoc2b40512006-01-06 14:48:22 +00005
6 <extension
7 id="org.eclipse.datatools.sqltools.deugger.editorext.SQLDebuggerDocumentProvider"
8 name="SQL Debugger document provider"
9 point="org.eclipse.datatools.sqltools.routineeditor.documentprovider">
10 <provider class="org.eclipse.datatools.sqltools.debugger.editorext.SQLDebuggerDocumentProvider"/>
11 </extension>
12
13 <extension
14 id="org.eclipse.datatools.sqltools.sqldebugger.core.texthover"
15 name="DTP SQL Debugger text hover"
16 point="org.eclipse.datatools.sqltools.sqleditor.texthover">
17 <hover class="org.eclipse.datatools.sqltools.debugger.editorext.SQLDebugHover"/>
18 </extension>
19
20 <!-- perspectives -->
21 <extension
22 point="org.eclipse.ui.perspectives">
23 <perspective
hcao55ca0052006-05-04 05:16:34 +000024 name="%database.debug.perspective"
hcaoc2b40512006-01-06 14:48:22 +000025 icon="icons/debug_exc.gif"
26 class="org.eclipse.datatools.sqltools.debugger.perspectives.DebuggerPerspective"
27 id="org.eclipse.datatools.sqltools.debugger.perspectives.DebuggerPerspective">
28 </perspective>
29 </extension>
30
31 <!-- next are how to hook DTP perspective/actions with other perspectives/actions of eclipse -->
32 <extension point="org.eclipse.ui.perspectiveExtensions">
33 <!-- decide where to show the views in "debug" perspective -->
34 <perspectiveExtension
35 targetID="org.eclipse.debug.ui.DebugPerspective">
36 <view id="org.eclipse.datatools.sqltools.result.resultView"
37 relative="org.eclipse.ui.console.ConsoleView"
38 relationship="stack"
39 visible="false" />
40 <viewShortcut id="org.eclipse.datatools.sqltools.result.resultView" />
41 <perspectiveShortcut id="org.eclipse.datatools.sqltools.sqleditor.perspectives.EditorPerspective"/>
42 </perspectiveExtension>
43
44 <!-- extension to the DTP debugger perspective -->
45 <perspectiveExtension
46 targetID="org.eclipse.datatools.sqltools.debugger.perspectives.DebuggerPerspective">
47 <actionSet
48 id="org.eclipse.debug.ui.breakpointActionSet">
49 </actionSet>
hcaofc0da5c2006-10-27 05:23:01 +000050 <!--actionSet
hcaoc2b40512006-01-06 14:48:22 +000051 id="org.eclipse.datatools.sqltools.debugger.actionsets">
hcaofc0da5c2006-10-27 05:23:01 +000052 </actionSet-->
hcaoc2b40512006-01-06 14:48:22 +000053
54 <!-- Top left -->
55 <view
56 closeable="true"
57 standalone="false"
58 moveable="true"
59 visible="true"
60 showTitle="true"
61 ratio="0.25"
62 relationship="top"
63 relative="org.eclipse.ui.editorss"
64 id="org.eclipse.debug.ui.DebugView"/>
65 <!-- Top right -->
66 <view
67 closeable="true"
68 standalone="false"
69 moveable="true"
70 visible="true"
71 showTitle="true"
72 ratio="0.5"
73 relationship="right"
74 relative="org.eclipse.debug.ui.DebugView"
75 id="org.eclipse.debug.ui.VariableView"/>
76 <view
77 closeable="true"
78 standalone="false"
79 moveable="true"
80 visible="true"
81 showTitle="true"
82 ratio="0.5"
83 relationship="stack"
84 relative="org.eclipse.debug.ui.VariableView"
85 id="org.eclipse.debug.ui.BreakpointView"/>
86
87 <!-- Bottom -->
88 <view
89 closeable="true"
90 standalone="false"
91 moveable="true"
92 visible="true"
93 showTitle="true"
94 ratio="0.65"
95 relationship="bottom"
96 relative="org.eclipse.ui.editorss"
97 id="org.eclipse.datatools.sqltools.result.resultView"/>
98 <view
99 closeable="true"
100 standalone="false"
101 moveable="true"
102 visible="false"
103 showTitle="true"
104 ratio="0.65"
105 relationship="stack"
106 relative="org.eclipse.datatools.sqltools.result.resultView"
107 id="org.eclipse.datatools.sqltools.debugger.planView"/>
108 <view
109 closeable="true"
110 standalone="false"
111 moveable="true"
112 visible="false"
113 showTitle="true"
114 ratio="0.65"
115 relationship="stack"
116 relative="org.eclipse.datatools.sqltools.result.resultView"
117 id="org.eclipse.datatools.sqltools.debugger.rowsView"/>
118
119 <!-- Right -->
120 <view
121 closeable="true"
122 standalone="false"
123 moveable="true"
124 visible="true"
125 showTitle="true"
126 ratio="0.75"
127 relationship="right"
128 relative="org.eclipse.ui.editorss"
129 id="org.eclipse.ui.views.ContentOutline"/>
130
131
132 <!-- Database Explorer as Fastview !-->
133 <view
134 closeable="true"
135 standalone="false"
136 moveable="true"
137 visible="true"
138 showTitle="true"
139 ratio="0.3"
140 relationship="fast"
141 relative="org.eclipse.debug.ui.DebugView"
142 id="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator"/>
143
hcao72ff57c2006-09-14 06:26:16 +0000144 <!-- Add New Wizards !-->
145 <newWizardShortcut id="org.eclipse.datatools.sqltools.internal.sqlscrapbook.wizards.NewSQLScrapbookFileCreationWizard"/>
hcaoc2b40512006-01-06 14:48:22 +0000146
147 <!-- Add View Shortcuts !-->
148 <viewShortcut id="org.eclipse.debug.ui.DebugView" />
149 <viewShortcut id="org.eclipse.datatools.connectivity.DataSourceExplorerNavigator" />
150 <viewShortcut id="org.eclipse.debug.ui.VariableView" />
151 <viewShortcut id="org.eclipse.debug.ui.BreakpointView" />
152 <viewShortcut id="org.eclipse.datatools.sqltools.result.resultView" />
153
154 <!-- Add Perspective shortcuts !-->
155 <perspectiveShortcut id="ConfigPerspective" />
156 <perspectiveShortcut id="org.eclipse.datatools.sqltools.sqleditor.perspectives.EditorPerspective" />
157 </perspectiveExtension>
158
159 </extension>
160
hcao74e0ca42006-01-13 14:02:47 +0000161 <!-- DTP routine launch configuration type.-->
162 <extension
163 point="org.eclipse.datatools.sqltools.routineeditor.launchConfigurationTypes">
164 <launchConfigurationType
hcao55ca0052006-05-04 05:16:34 +0000165 name="%routine.launch.type"
hcao74e0ca42006-01-13 14:02:47 +0000166 delegate="org.eclipse.datatools.sqltools.debugger.launching.SPDebuggerLaunchConfigurationDelegate"
167 modes="debug"
168 id="org.eclipse.datatools.sqltools.debugger.core.launchConfigurationType">
169 </launchConfigurationType>
170 </extension>
171
hcao72ff57c2006-09-14 06:26:16 +0000172 <extension
173 point="org.eclipse.ui.popupMenus">
174 <!-- properties dialog for SP breakpoint -->
175 <objectContribution
176 objectClass="org.eclipse.datatools.sqltools.debugger.breakpoint.SPLineBreakpoint"
177 id="org.eclipse.datatools.sqltools.debugger.SPBreakpointActions">
178 <action
179 enablesFor="1"
180 label="P&amp;roperties"
181 class="org.eclipse.datatools.sqltools.debugger.actions.SPBreakpointPropertiesAction"
182 menubarPath="additions"
183 id="org.eclipse.jdt.debug.ui.actions.SPBreakpointProperties"/>
184 </objectContribution>
185 <!--
186 breakpoint related ruler context menu items.
187 -->
188 <viewerContribution
189 targetID="#SQLEditorRulerContext"
190 id="org.eclipse.datatools.sqltools.sqleditor.debug.ui.SQLEditorPopupActions">
191 <action
192 helpContextId="org.eclipse.datatools.sqltools.sqleditor.debugger.breakpoint_properties_action"
193 label="Breakpoint Properties..."
194 class="org.eclipse.datatools.sqltools.debugger.actions.SPBreakpointPropertiesRulerActionDelegate"
195 menubarPath="debug"
196 id="org.eclipse.datatools.sqltools.debugger.actions.SPBreakpointPropertiesRulerActionDelegate">
197 </action>
198 <action
199 helpContextId="org.eclipse.datatools.sqltools.sqleditor.debugger.enable_disable_breakpoint_action"
200 label="Enable Breakpoint"
201 class="org.eclipse.datatools.sqltools.debugger.actions.EnableDisableBreakpointRulerActionDelegate"
202 menubarPath="debug"
203 id="org.eclipse.datatools.sqltools.debugger.actions.EnableDisableBreakpointRulerActionDelegate">
204 </action>
205 <action
206 helpContextId="org.eclipse.datatools.sqltools.sqleditor.debugger.toggle_breakpoint_action"
207 label="Toggle Breakpoint"
208 class="org.eclipse.datatools.sqltools.debugger.actions.ManageBreakpointRulerActionDelegate"
209 menubarPath="debug"
210 id="org.eclipse.datatools.sqltools.debugger.actions.ManageBreakpointRulerActionDelegate">
211 </action>
212 </viewerContribution>
213
214 </extension>
215
216
217 <!-- debug model presentation -->
218 <extension
219 point="org.eclipse.debug.ui.debugModelPresentations">
220 <debugModelPresentation
221 class="org.eclipse.datatools.sqltools.debugger.debug.SPModelPresentation"
222 id="org.eclipse.datatools.sqltools.debugger.core.debugModelPresentation"/>
223 </extension>
224
225
226 <!-- breakpoints -->
227 <extension
228 id="spLineBreakpointMarker"
229 name="SP Line breakpoint Marker"
230 point="org.eclipse.core.resources.markers">
231 <persistent value="true"/>
232 <super type="org.eclipse.debug.core.lineBreakpointMarker"/>
233 <attribute name="org.eclipse.datatools.sqltools.debugger.core.procIdentifier"/>
234 <attribute name="org.eclipse.datatools.sqltools.debugger.core.condition"/>
235 <attribute name="org.eclipse.datatools.sqltools.debugger.core.conditionEnabled"/>
236 </extension>
237 <extension
238 point="org.eclipse.debug.core.breakpoints">
239 <breakpoint
240 class="org.eclipse.datatools.sqltools.debugger.breakpoint.SPLineBreakpoint"
241 markerType="org.eclipse.datatools.sqltools.debugger.core.spLineBreakpointMarker"
242 id="spLineBreakpoint"/>
243 </extension>
244
245 <!-- adapters for retargetable actions -->
246 <extension point="org.eclipse.core.runtime.adapters">
247 <factory
248 class="org.eclipse.datatools.sqltools.debugger.actions.RetargettableActionAdapterFactory"
249 adaptableType="org.eclipse.datatools.sqltools.sqleditor.SQLEditor">
250 <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
251 <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
252 </factory>
253 </extension>
254
255 <!-- ruler double click for toggle breakpoint -->
256 <extension
257 point="org.eclipse.ui.editorActions">
258 <editorContribution
259 targetID="org.eclipse.datatools.sqltools.routineeditor.internal.RoutineEditor"
260 id="org.eclipse.datatools.sqltools.rullerDoubleClick">
261 <action
262 label="Add Breakpoint"
263 class="org.eclipse.datatools.sqltools.debugger.actions.ManageBreakpointRulerActionDelegate"
264 actionID="RulerDoubleClick"
265 id="org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction">
266 </action>
267 </editorContribution>
268 </extension>
269
270 <!-- watch expression for debugger -->
271 <extension
272 point="org.eclipse.debug.core.watchExpressionDelegates">
273 <watchExpressionDelegate
274 debugModel="org.eclipse.datatools.sqltools.debugger.debug.debugModelPresentation"
275 delegateClass="org.eclipse.datatools.sqltools.debugger.model.SPWatchExpressionDelegate"/>
276 </extension>
277
278
279
hcaoc2b40512006-01-06 14:48:22 +0000280</plugin>