author | John Kern <johnk@symbian.org> |
Mon, 01 Feb 2010 13:29:56 -0800 | |
changeset 68 | 0f778d24a639 |
parent 39 | eb7d9e33e288 |
child 104 | 58b323842de3 |
permissions | -rw-r--r-- |
2 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<?eclipse version="3.4"?> |
|
3 |
<plugin> |
|
4 |
<extension |
|
5 |
point="org.eclipse.core.runtime.preferences"> |
|
6 |
<initializer |
|
7 |
class="org.symbian.tools.wrttools.debug.internal.PreferenceInitializer"> |
|
8 |
</initializer> |
|
9 |
</extension> |
|
10 |
<extension |
|
11 |
point="org.eclipse.ui.preferencePages"> |
|
12 |
<page |
|
39
eb7d9e33e288
Integration with previewer code
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
2
diff
changeset
|
13 |
category="org.symbian.tools.wrttools.editing.preferences.WrtEditingPreferencePage" |
2 | 14 |
class="org.symbian.tools.wrttools.debug.ui.DebugPreferencePage" |
15 |
id="org.symbian.tools.wrttools.debug" |
|
16 |
name="WRT Debugger"> |
|
17 |
</page> |
|
18 |
</extension> |
|
19 |
<extension |
|
20 |
point="org.eclipse.debug.core.launchConfigurationTypes"> |
|
21 |
<launchConfigurationType |
|
22 |
delegate="org.symbian.tools.wrttools.debug.internal.launch.WidgetLaunchDelegate" |
|
23 |
id="org.symbian.tools.wrttools.debug.widget" |
|
24 |
modes="debug,run" |
|
25 |
name="WRT Widget" |
|
26 |
public="true"> |
|
27 |
</launchConfigurationType> |
|
28 |
</extension> |
|
29 |
<extension |
|
30 |
point="org.eclipse.debug.ui.launchConfigurationTabGroups"> |
|
31 |
<launchConfigurationTabGroup |
|
32 |
class="org.symbian.tools.wrttools.debug.ui.launch.WidgetLaunchConfigurationTabGroup" |
|
33 |
description="WRT Widget" |
|
34 |
id="org.symbian.tools.wrttools.debug.wrtTabGroup" |
|
35 |
type="org.symbian.tools.wrttools.debug.widget"> |
|
36 |
</launchConfigurationTabGroup> |
|
37 |
</extension> |
|
38 |
<extension |
|
39 |
point="org.eclipse.debug.ui.launchConfigurationTypeImages"> |
|
40 |
<launchConfigurationTypeImage |
|
41 |
configTypeID="org.symbian.tools.wrttools.debug.widget" |
|
42 |
icon="icons/main16.gif" |
|
43 |
id="org.symbian.tools.wrttools.debug.widget.image"> |
|
44 |
</launchConfigurationTypeImage> |
|
45 |
</extension> |
|
46 |
<extension |
|
47 |
point="org.eclipse.debug.ui.launchShortcuts"> |
|
48 |
<shortcut |
|
49 |
class="org.symbian.tools.wrttools.debug.ui.launch.WidgetLaunchShortcut" |
|
50 |
icon="icons/main16.gif" |
|
51 |
id="org.symbian.tools.wrttools.debug.wrtshortcut" |
|
52 |
label="WRT Widget" |
|
53 |
modes="run, debug"> |
|
54 |
<configurationType |
|
55 |
id="org.symbian.tools.wrttools.debug.widget"> |
|
56 |
</configurationType> |
|
57 |
<contextualLaunch> |
|
58 |
<enablement> |
|
59 |
<with |
|
60 |
variable="selection"> |
|
61 |
<count |
|
62 |
value="1"/> |
|
63 |
<iterate> |
|
64 |
<adapt |
|
65 |
type="org.eclipse.core.resources.IResource"> |
|
66 |
<test |
|
67 |
forcePluginActivation="true" |
|
68 |
property="org.symbian.isWrtProject" |
|
69 |
> |
|
70 |
</test> |
|
71 |
</adapt> |
|
72 |
</iterate> |
|
73 |
</with> |
|
74 |
</enablement> |
|
75 |
<contextLabel |
|
76 |
label="WRT Widget" |
|
77 |
mode="run"> |
|
78 |
</contextLabel> |
|
79 |
<contextLabel |
|
80 |
label="WRT Widget" |
|
81 |
mode="debug"> |
|
82 |
</contextLabel></contextualLaunch> |
|
83 |
</shortcut> |
|
84 |
</extension> |
|
85 |
<extension |
|
86 |
point="org.eclipse.core.expressions.propertyTesters"> |
|
87 |
<propertyTester |
|
88 |
class="org.symbian.tools.wrttools.debug.internal.property.PropertyTester" |
|
89 |
id="org.symbian.tools.wrttools.debug.projectTester" |
|
90 |
namespace="org.symbian" |
|
91 |
properties="isWrtProject" |
|
92 |
type="org.eclipse.core.resources.IResource"> |
|
93 |
</propertyTester> |
|
94 |
</extension> |
|
95 |
<extension |
|
96 |
point="org.eclipse.ui.popupMenus"> |
|
97 |
<viewerContribution |
|
98 |
id="org.symbian.tools.wrttools.debug.core.js" |
|
99 |
targetID="#JavaScriptRulerContext"> |
|
100 |
<action |
|
101 |
class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate" |
|
102 |
id="org.chromium.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate" |
|
103 |
label="Toggle Enablement" |
|
104 |
menubarPath="debug"> |
|
105 |
</action> |
|
106 |
<action |
|
107 |
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" |
|
108 |
id="org.chromium.debug.ui.actions.EnableDisableBreakpointAction" |
|
109 |
label="Toggle Breakpoint" |
|
110 |
menubarPath="debug"> |
|
111 |
</action> |
|
112 |
<action |
|
113 |
class="org.symbian.tools.wrttools.debug.ui.actions.JsBreakpointPropertiesRulerActionDelegate" |
|
114 |
id="org.symbian.tools.wrttools.debug.core.js.JavaBreakpointPropertiesRulerActionDelegate" |
|
115 |
label="Breakpoint Properties..." |
|
116 |
menubarPath="group.properties"> |
|
117 |
</action> |
|
118 |
</viewerContribution> |
|
119 |
<viewerContribution |
|
120 |
id="org.symbian.tools.wrttools.debug.core.ro" |
|
121 |
targetID="#ReadOnlyJavaScriptRulerContext"> |
|
122 |
<action |
|
123 |
class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate" |
|
124 |
id="org.chromium.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate" |
|
125 |
label="Toggle Enablement" |
|
126 |
menubarPath="debug"> |
|
127 |
</action> |
|
128 |
<action |
|
129 |
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" |
|
130 |
id="org.chromium.debug.ui.actions.EnableDisableBreakpointAction" |
|
131 |
label="Toggle Breakpoint" |
|
132 |
menubarPath="debug"> |
|
133 |
</action> |
|
134 |
<action |
|
135 |
class="org.symbian.tools.wrttools.debug.ui.actions.JsBreakpointPropertiesRulerActionDelegate" |
|
136 |
id="org.symbian.tools.wrttools.debug.core.ro.JavaBreakpointPropertiesRulerActionDelegate" |
|
137 |
label="Breakpoint Properties..." |
|
138 |
menubarPath="group.properties"> |
|
139 |
</action> |
|
140 |
</viewerContribution> |
|
141 |
</extension> |
|
142 |
<extension |
|
143 |
point="org.eclipse.core.runtime.adapters"> |
|
144 |
<factory |
|
145 |
adaptableType="org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaEditor" |
|
146 |
class="org.symbian.tools.wrttools.debug.internal.BreakpointAdapterFactory"> |
|
147 |
<adapter |
|
148 |
type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"> |
|
149 |
</adapter> |
|
150 |
</factory> |
|
151 |
</extension> |
|
152 |
<extension |
|
153 |
point="org.eclipse.ui.editorActions"> |
|
154 |
<editorContribution |
|
155 |
id="org.symbian.tools.wrttools.debug.core.CompilationUnitEditor.BreakpointRulerActions" |
|
156 |
targetID="org.eclipse.wst.jsdt.ui.CompilationUnitEditor"> |
|
157 |
<action |
|
158 |
actionID="RulerDoubleClick" |
|
159 |
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" |
|
160 |
id="org.eclipse.wst.jsdt.debug.ui.actions.ManageBreakpointRulerAction" |
|
161 |
label="Toggle Breakpoint"> |
|
162 |
</action> |
|
163 |
</editorContribution> |
|
164 |
<editorContribution |
|
165 |
id="org.symbian.tools.wrttools.debug.core.ClassFileEditor.BreakpointRulerActions" |
|
166 |
targetID="org.eclipse.wst.jsdt.ui.ClassFileEditor"> |
|
167 |
<action |
|
168 |
actionID="RulerDoubleClick" |
|
169 |
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" |
|
170 |
id="org.eclipse.wst.jsdt.debug.ui.actions.ManageBreakpointRulerAction" |
|
171 |
label="Toggle Breakpoint"> |
|
172 |
</action> |
|
173 |
</editorContribution> |
|
174 |
</extension> |
|
175 |
<extension |
|
176 |
point="org.eclipse.ui.perspectiveExtensions"> |
|
177 |
<perspectiveExtension |
|
178 |
targetID="org.eclipse.wst.jsdt.ui.JavaPerspective"> |
|
179 |
<actionSet |
|
180 |
id="org.eclipse.debug.ui.breakpointActionSet"> |
|
181 |
</actionSet> |
|
182 |
<actionSet |
|
183 |
id="org.eclipse.debug.ui.debugActionSet"> |
|
184 |
</actionSet> |
|
185 |
</perspectiveExtension> |
|
186 |
</extension> |
|
187 |
</plugin> |