blob: 0e9af69a70a6fbfebe4fd09b26b144c5cc7d649c [file] [log] [blame]
asobolev6d5908b2008-05-26 10:24:01 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<?eclipse version="3.0"?>
4<plugin>
5 <extension-point id="ScriptEditorContributor"
6 name="Mylyn Script Editor Contributor"
7 schema="schema/scriptEditorContributor.exsd"/>
8
9 <extension
10 point="org.eclipse.mylyn.context.core.bridges">
11 <structureBridge
12 class="org.eclipse.mylyn.internal.dltk.DLTKStructureBridge"
13 name="Script Structure Bridge"
14 parentContentType="*"/>
15 </extension>
16
17 <extension point="org.eclipse.mylyn.context.ui.bridges">
18 <uiBridge
19 class="org.eclipse.mylyn.internal.dltk.ui.DLTKUiBridge"
20 contentType="script"
21 activeSearchIcon="icons/elcl16/edge-ref-java.gif"
22 activeSearchLabel="Script Search"/>
23 <labelProvider
24 class="org.eclipse.mylyn.internal.dltk.ui.DLTKContextLabelProvider"
25 contentType="script"/>
26 <preservedFilters
27 viewId="org.eclipse.dltk.mylyn.navigatorContent">
28 <filter
29 class="org.eclipse.mylyn.internal.dltk.ui.DLTKDeclarationsFilter">
30 </filter>
31 </preservedFilters>
32 <preservedFilters
33 viewId="org.eclipse.ui.navigator.ProjectExplorer">
34 <filter
35 class="org.eclipse.mylyn.internal.dltk.ui.DLTKDeclarationsFilter">
36 </filter>
37 </preservedFilters>
38 </extension>
39
40 <!-- ==================== Context Editing Common Navigator ==================== -->
41
42 <extension
43 point="org.eclipse.ui.navigator.viewer">
44 <viewerContentBinding
45 viewerId="org.eclipse.mylyn.context.ui.navigator.context">
46 <includes>
47 <contentExtension
48 pattern="org.eclipse.dltk.core.DLTKContent">
49 </contentExtension>
50 </includes>
51 </viewerContentBinding>
52 </extension>
53 <extension
54 point="org.eclipse.ui.perspectiveExtensions">
55 <perspectiveExtension
56 targetID="org.eclipse.dltk.ruby.ui.RubyPerspective">
57 </perspectiveExtension>
58 </extension>
59
60 <!-- ==================== Editors ==================== -->
61
62
63
64
65
66
67 <extension point="org.eclipse.ui.viewActions">
68 <viewContribution
69 id="org.eclipse.mylyn.dltk.explorer.contribution"
70 targetID="org.eclipse.dltk.ui.ScriptExplorer">
71 <action
72 class="org.eclipse.mylyn.internal.dltk.ui.actions.FocusScriptExplorerAction"
73 disabledIcon="icons/elcl16/focus-disabled.gif"
74 enablesFor="*"
75 icon="icons/elcl16/focus.gif"
76 id="org.eclipse.mylyn.actions.filter.scriptExplorer"
77 label="Focus on Active Task"
78 menubarPath="mylyn"
79 style="toggle"
80 toolbarPath="mylyn"
81 tooltip="Focus on Active Task">
82 </action>
83 </viewContribution>
84 <viewContribution
85 id="org.eclipse.mylyn.ui.views.active.search.contribution"
86 targetID="org.eclipse.mylyn.ui.views.active.search">
87 </viewContribution>
88
89 <viewContribution
90 id="org.eclipse.mylyn.ui.debug.view.contribution"
91 targetID="org.eclipse.debug.ui.DebugView">
92 <action
93 class="org.eclipse.mylyn.internal.dltk.ui.actions.FocusDebugViewAction"
94 disabledIcon="icons/elcl16/focus-disabled.gif"
95 enablesFor="*"
96 icon="icons/elcl16/focus.gif"
97 id="org.eclipse.mylyn.ui.actions.FilterResourceNavigatorAction"
98 label="Focus on Active Task (Experimental)"
99 menubarPath="mylyn"
100 style="toggle"
101 toolbarPath="mylyn"
102 tooltip="Focus on Active Task (Experimental)">
103 </action>
104 </viewContribution>
105 </extension>
106
107 <extension point="org.eclipse.ui.popupMenus">
108 <objectContribution
109 adaptable="false"
110 id="org.eclipse.mylyn.internal.dltk.ui.interest"
111 objectClass="org.eclipse.dltk.core.IModelElement">
112 <action
113 class="org.eclipse.mylyn.internal.context.ui.actions.InterestDecrementAction"
114 enablesFor="*"
115 icon="icons/elcl16/interest-decrease.gif"
116 id="org.eclipse.mylyn.internal.dltk.ui.actions.interest.decrement"
117 label="Remove from Context"
118 menubarPath="additions"
119 tooltip="Mark selected element as uninteresting">
120 </action>
121 <action
122 label="Mark as Landmark"
123 tooltip="Mark the selected element as a landmark"
124 menubarPath="additions"
125 id="org.eclipse.mylyn.ui.actions.InterestIncrementAction"
126 class="org.eclipse.mylyn.internal.context.ui.actions.InterestIncrementAction"
127 icon="icons/elcl16/interest-increase.gif"
128 enablesFor="*"/>
129 <visibility>
130 <systemProperty
131 name="org.eclipse.mylyn.context.core.context.active"
132 value="true">
133 </systemProperty>
134 </visibility>
135 </objectContribution>
136 <objectContribution
137 adaptable="false"
138 id="org.eclipse.dltk.mylyn.ui.interest.contribution.container"
139 objectClass="org.eclipse.dltk.internal.ui.scriptview.BuildPathContainer">
140 <action
141 class="org.eclipse.mylyn.internal.context.ui.actions.InterestDecrementAction"
142 enablesFor="*"
143 icon="icons/elcl16/interest-decrease.gif"
144 id="org.eclipse.mylyn.internal.dltk.ui.actions.interest.decrement.container"
145 label="Remove from Context"
146 menubarPath="additions"
147 tooltip="Mark selected element as uninteresting">
148 </action>
149 <action
150 class="org.eclipse.mylyn.internal.context.ui.actions.InterestIncrementAction"
151 enablesFor="*"
152 icon="icons/elcl16/interest-increase.gif"
153 id="org.eclipse.mylyn.ui.actions.InterestIncrementAction"
154 label="Mark as Landmark"
155 menubarPath="additions"
156 tooltip="Mark the selected element as a landmark">
157 </action>
158 <visibility>
159 <systemProperty
160 name="org.eclipse.mylyn.context.core.context.active"
161 value="true">
162 </systemProperty>
163 </visibility>
164 </objectContribution>
165 </extension>
166
167 <extension point="org.eclipse.ui.actionSets">
168 <actionSet
169 id="org.eclipse.dltk.mylyn.actionSet"
170 label="Mylyn DLTK"
171 visible="true">
172
173 <action
174 class="org.eclipse.mylyn.internal.dltk.ui.actions.ToggleActiveFoldingAction"
175 definitionId="org.eclipse.dltk.mylyn.ui.editor.folding.auto"
176 icon="icons/elcl16/interest-folding.gif"
177 id="org.eclipse.dltk.mylyn.ui.editor.folding.auto"
178 label="Automatically Fold Unintersting Elements"
179 style="toggle"
180 toolbarPath="org.eclipse.ui.edit.text.actionSet.presentation/Presentation"
181 tooltip="Automatically Fold Unintersting Elements">
182 <enablement>
183 <systemProperty
184 name="org.eclipse.mylyn.context.core.context.active"
185 value="true">
186 </systemProperty>
187 </enablement>
188 </action>
189 <action
190 definitionId="org.eclipse.mylyn.dltk.ui.search.context"
191 label="Search the current task context"
192 class="org.eclipse.mylyn.internal.dltk.ui.actions.FindReferencesInContextAction"
193 id="org.eclipse.dltk.mylyn.ui.search.context">
194 </action>
195 </actionSet>
196 </extension>
197
198
199
200 <extension point="org.eclipse.ui.newWizards">
201 <wizard
202 canFinishEarly="false"
203 category="org.eclipse.mylyn.wizards"
204 class="org.eclipse.mylyn.internal.dltk.ui.wizards.MylynPreferenceWizard"
205 hasPages="true"
206 icon="icons/etool16/wizard-prefs.gif"
207 id="org.eclipse.mylyn.dltk.ui.wizards.preferences"
208 name="Recommended Preferences"
209 project="false">
210 </wizard>
211 </extension>
212
213 <extension point="org.eclipse.ui.commands">
214 <command
215 categoryId="org.eclipse.mylyn.ui"
216 description="Search the current task context"
217 id="org.eclipse.mylyn.dltk.ui.search.context"
218 name="Search Task Context">
219 </command>
220 <command
221 categoryId="org.eclipse.mylyn.ui"
222 description="Toggle Active Folding"
223 id="org.eclipse.mylyn.dltk.ui.editor.folding.auto"
224 name="Toggle Active Folding">
225 </command>
226 </extension>
227 <extension
228 point="org.eclipse.ui.actionSetPartAssociations">
229 <actionSetPartAssociation
230 targetID="org.eclipse.mylyn.dltk.actionSet.browsing">
231 <part
232 id="org.eclipse.dltk.ui.MembersView">
233 </part>
234 </actionSetPartAssociation>
235 </extension>
236 <extension
237 point="org.eclipse.dltk.ui.dltkElementFilters">
238 <filter
239 class="org.eclipse.mylyn.internal.dltk.ui.DLTKDeclarationsFilter"
240 description="Member Filter"
241 enabled="false"
242 id="org.eclipse.dltk.mylyn.MembersFilter"
243 name="Member Filter"
244 targetId="org.eclipse.dltk.ScriptExplorer">
245 </filter>
246 </extension>
247
248</plugin>
249
250