blob: 6593d2210362d7db610d5568d5c4b7958add09b0 [file] [log] [blame]
Jonathan Dumont347b2ba2015-11-18 10:49:59 +01001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3<plugin>
4 <extension
5 point="org.eclipse.ui.perspectives">
6 <perspective
7 class="org.polarsys.esf.core.ui.perspectives.PerspectiveDashboardsFactory"
8 icon="src/main/resources/icons/perspectives/icon_perspective_dashboard.png"
9 id="%perspective.dashboard.id"
10 name="%perspective.dashboard.name">
11 </perspective>
12 <perspective
13 class="org.polarsys.esf.core.ui.perspectives.PerspectiveDesignFactory"
14 icon="src/main/resources/icons/perspectives/icon_perspective_design.png"
15 id="%perspective.design.id"
16 name="%perspective.design.name">
17 </perspective>
18 <perspective
19 class="org.polarsys.esf.core.ui.perspectives.PerspectiveReportsFactory"
20 icon="src/main/resources/icons/perspectives/icon_perspective_reports.png"
21 id="%perspective.reports.id"
22 name="%perspective.reports.name">
23 </perspective>
24 </extension>
25 <extension
26 point="org.eclipse.ui.perspectiveExtensions">
27 <perspectiveExtension
28 targetID="*">
29 <newWizardShortcut
30 id="org.eclipse.ui.wizards.new.folder">
31 </newWizardShortcut>
32 <newWizardShortcut
33 id="org.eclipse.ui.wizards.new.project">
34 </newWizardShortcut>
35 <newWizardShortcut
36 id="org.polarsys.esf.core.ui.wizard.new.saproject">
37 </newWizardShortcut>
38 <perspectiveShortcut
39 id="%perspective.design.id">
40 </perspectiveShortcut>
41 <perspectiveShortcut
42 id="%perspective.dashboard.id">
43 </perspectiveShortcut>
44 <viewShortcut
45 id="org.eclipse.ui.navigator.ProjectExplorer">
46 </viewShortcut>
47 <viewShortcut
48 id="org.eclipse.ui.views.ContentOutline">
49 </viewShortcut>
50 <viewShortcut
51 id="org.eclipse.ui.views.PropertySheet">
52 </viewShortcut>
53 <viewShortcut
54 id="org.eclipse.ui.views.ProblemView">
55 </viewShortcut>
56 </perspectiveExtension>
57 </extension>
58 <extension
59 point="org.eclipse.ui.activities">
60 <activity
61 description="Java Development activities"
62 id="org.polarsys.esf.core.ui.actity.javadevelopment"
63 name="Java Development">
64 <enabledWhen>
65 <with
66 variable="rightsVariable">
67 <iterate
68 ifEmpty="false"
69 operator="or">
70 <equals
71 value="showForbidden">
72 </equals>
73 </iterate>
74 </with>
75 </enabledWhen>
76 </activity>
77 <activityPatternBinding
78 activityId="org.polarsys.esf.core.ui.actity.javadevelopment"
79 pattern="org\.eclipse\.jdt\.(compiler|core|debug|launching).*/.*">
80 </activityPatternBinding>
81 <activityPatternBinding
82 activityId="org.polarsys.esf.core.ui.actity.javadevelopment"
83 pattern="org\.eclipse\.jdt\.ui/.*Perspective">
84 </activityPatternBinding>
85 <activityPatternBinding
86 activityId="org.polarsys.esf.core.ui.actity.javadevelopment"
87 pattern="org\.eclipse\.jdt\.ui/(.*View|.*view|.*TypeHierarchy|.*PackageExplorer)">
88 </activityPatternBinding>
89 <activityPatternBinding
90 activityId="org.polarsys.esf.core.ui.actity.javadevelopment"
91 pattern="org\.eclipse\.jdt\.ui/.*Wizard">
92 </activityPatternBinding>
93 <activityPatternBinding
94 activityId="org.polarsys.esf.core.ui.actity.javadevelopment"
95 pattern="org\.eclipse\.jdt\.ui/org\.eclipse\.jdt\.ui\.preferences.*">
96 </activityPatternBinding>
97 <activityPatternBinding
98 activityId="org.polarsys.esf.core.ui.actity.javadevelopment"
99 pattern="org.eclipse.jdt.ui/org.eclipse.jdt.ui.JavaSearchPage">
100 </activityPatternBinding>
101 <activity
102 description="Debug activities"
103 id="org.polarsys.esf.core.ui.debug"
104 name="Debug">
105 <enabledWhen>
106 <with
107 variable="rightsVariable">
108 <iterate
109 ifEmpty="false"
110 operator="or">
111 <equals
112 value="showForbidden">
113 </equals>
114 </iterate>
115 </with>
116 </enabledWhen>
117 </activity>
118 <activityPatternBinding
119 activityId="org.polarsys.esf.core.ui.debug"
120 pattern="org\.eclipse\.debug\..*/.*">
121 </activityPatternBinding>
122 <activity
123 description="Team activities"
124 id="org.polarsys.esf.core.ui.activity.team"
125 name="Team">
126 <enabledWhen>
127 <with
128 variable="rightsVariable">
129 <iterate
130 ifEmpty="false"
131 operator="or">
132 <equals
133 value="showForbidden">
134 </equals>
135 </iterate>
136 </with>
137 </enabledWhen>
138 </activity>
139 <activityPatternBinding
140 activityId="org.polarsys.esf.core.ui.activity.team"
141 pattern="org\.eclipse\.team\..*/.*">
142 </activityPatternBinding>
143 <activityPatternBinding
144 activityId="org.polarsys.esf.core.ui.activity.team"
145 pattern="org\.eclipse\.compare/replaceWithPreviousFromHistory">
146 </activityPatternBinding>
147 <activityPatternBinding
148 activityId="org.polarsys.esf.core.ui.activity.team"
149 pattern="org\.eclipse\.compare/compareWithEachOther">
150 </activityPatternBinding>
151 <activityPatternBinding
152 activityId="org.polarsys.esf.core.ui.activity.team"
153 pattern="org\.eclipse\.compare/addFromHistoryAction">
154 </activityPatternBinding>
155 <activityPatternBinding
156 activityId="org.polarsys.esf.core.ui.activity.team"
157 pattern="org\.eclipse\.emf\.diffmerge\.ui/org\.eclipse\.emf\.diffmerge\.ui\.compareFilesAction">
158 </activityPatternBinding>
159 <activity
160 description="General activities"
161 id="org.polarsys.esf.core.ui.activity.general"
162 name="General">
163 <enabledWhen>
164 <with
165 variable="rightsVariable">
166 <iterate
167 ifEmpty="false"
168 operator="or">
169 <equals
170 value="showForbidden">
171 </equals>
172 </iterate>
173 </with>
174 </enabledWhen>
175 </activity>
176 <activityPatternBinding
177 activityId="org.polarsys.esf.core.ui.activity.general"
178 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.views\.TaskList">
179 </activityPatternBinding>
180 <activityPatternBinding
181 activityId="org.polarsys.esf.core.ui.activity.general"
182 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.views\.AllMarkersView">
183 </activityPatternBinding>
184 <activityPatternBinding
185 activityId="org.polarsys.esf.core.ui.activity.general"
186 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.views\.BookmarkView">
187 </activityPatternBinding>
188 <activityPatternBinding
189 activityId="org.polarsys.esf.core.ui.activity.general"
190 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.openLocalFile">
191 </activityPatternBinding>
192 <activityPatternBinding
193 activityId="org.polarsys.esf.core.ui.activity.general"
194 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.actions\.showKeyAssistHandler">
195 </activityPatternBinding>
196 <activityPatternBinding
197 activityId="org.polarsys.esf.core.ui.activity.general"
198 pattern="org\.eclipse\.gef/org\.eclipse\.gef\.ui\.palette_view">
199 </activityPatternBinding>
200 <activityPatternBinding
201 activityId="org.polarsys.esf.core.ui.activity.general"
202 pattern="org\.eclipse\.search/org\.eclipse\.search\.SearchResultView">
203 </activityPatternBinding>
204 <activityPatternBinding
205 activityId="org.polarsys.esf.core.ui.activity.general"
206 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.delimiter\.windows">
207 </activityPatternBinding>
208 <activityPatternBinding
209 activityId="org.polarsys.esf.core.ui.activity.general"
210 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.delimiter\.unix">
211 </activityPatternBinding>
212 <activityPatternBinding
213 activityId="org.polarsys.esf.core.ui.activity.general"
214 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.delimiter\.macOS9">
215 </activityPatternBinding>
216 <activityPatternBinding
217 activityId="org.polarsys.esf.core.ui.activity.general"
218 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.gotoLastEditPosition">
219 </activityPatternBinding>
220 <activityPatternBinding
221 activityId="org.polarsys.esf.core.ui.activity.general"
222 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.gotoPreviousAnnotation">
223 </activityPatternBinding>
224 <activityPatternBinding
225 activityId="org.polarsys.esf.core.ui.activity.general"
226 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.gotoNextAnnotation">
227 </activityPatternBinding>
228 <activityPatternBinding
229 activityId="org.polarsys.esf.core.ui.activity.general"
230 pattern="org.eclipse.ui.ide/org.eclipse.ui.preferencePages.FileEditors">
231 </activityPatternBinding>
232 <activity
233 description="Search activities"
234 id="org.polarsys.esf.core.ui.activity.search"
235 name="Search">
236 <enabledWhen>
237 <with
238 variable="rightsVariable">
239 <iterate
240 ifEmpty="false"
241 operator="or">
242 <equals
243 value="showForbidden">
244 </equals>
245 </iterate>
246 </with>
247 </enabledWhen>
248 </activity>
249 <activityPatternBinding
250 activityId="org.polarsys.esf.core.ui.activity.search"
251 pattern="org\.eclipse\.search/org\.eclipse\.search\.OpenSearchDialog">
252 </activityPatternBinding>
253 <activityPatternBinding
254 activityId="org.polarsys.esf.core.ui.activity.search"
255 pattern="org\.eclipse\.search/org\.eclipse\.search\.OpenFileSearchPage">
256 </activityPatternBinding>
257 <activityPatternBinding
258 activityId="org.polarsys.esf.core.ui.activity.search"
259 pattern="org\.eclipse\.search/org\.eclipse\.search\.TextSearchWorkspace">
260 </activityPatternBinding>
261 <activityPatternBinding
262 activityId="org.polarsys.esf.core.ui.activity.search"
263 pattern="org\.eclipse\.search/org\.eclipse\.search\.TextSearchProject">
264 </activityPatternBinding>
265 <activityPatternBinding
266 activityId="org.polarsys.esf.core.ui.activity.search"
267 pattern="org\.eclipse\.search/org\.eclipse\.search\.TextSearchFile">
268 </activityPatternBinding>
269 <activityPatternBinding
270 activityId="org.polarsys.esf.core.ui.activity.search"
271 pattern="org\.eclipse\.search/org\.eclipse\.search\.TextSearchWorkingSet">
272 </activityPatternBinding>
273 <activity
274 description="Acceleo activities"
275 id="org.polarsys.esf.core.ui.activity.acceleo"
276 name="Acceleo">
277 <enabledWhen>
278 <with
279 variable="rightsVariable">
280 <iterate
281 ifEmpty="false"
282 operator="or">
283 <equals
284 value="showForbidden">
285 </equals>
286 </iterate>
287 </with>
288 </enabledWhen>
289 </activity>
290 <activityPatternBinding
291 activityId="org.polarsys.esf.core.ui.activity.acceleo"
292 pattern="org\.eclipse\.acceleo\.ui\.interpreter/org\.eclipse\.acceleo\.ui\.interpreter\.view">
293 </activityPatternBinding>
294 <activityPatternBinding
295 activityId="org.polarsys.esf.core.ui.activity.acceleo"
296 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.views\.proposals\.ProposalsBrowser">
297 </activityPatternBinding>
298 <activityPatternBinding
299 activityId="org.polarsys.esf.core.ui.activity.acceleo"
300 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.views\.overrides\.OverridesBrowser">
301 </activityPatternBinding>
302 <activityPatternBinding
303 activityId="org.polarsys.esf.core.ui.activity.acceleo"
304 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.views\.result\.AcceleoResultView">
305 </activityPatternBinding>
306 <activityPatternBinding
307 activityId="org.polarsys.esf.core.ui.activity.acceleo"
308 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.AcceleoPerspective">
309 </activityPatternBinding>
310 <activityPatternBinding
311 activityId="org.polarsys.esf.core.ui.activity.acceleo"
312 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.popupMenus\.GenerateStatisticReport">
313 </activityPatternBinding>
314 <activityPatternBinding
315 activityId="org.polarsys.esf.core.ui.activity.acceleo"
316 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.popupMenus\.DoNotGenerate">
317 </activityPatternBinding>
318 <activityPatternBinding
319 activityId="org.polarsys.esf.core.ui.activity.acceleo"
320 pattern="org\.eclipse\.acceleo\.ide\.ui/org\.eclipse\.acceleo\.ide\.ui\.acceleoPreferences">
321 </activityPatternBinding>
322 </extension>
323 <extension
324 point="org.eclipse.ui.menus">
325 <menuContribution
326 locationURI="menu:file">
327 <command
328 commandId="org.eclipse.ui.edit.text.openLocalFile"
329 style="push">
330 </command>
331 <separator
332 name="new-open-separator"
333 visible="true">
334 </separator>
335 <command
336 commandId="org.eclipse.ui.file.close"
337 style="push">
338 </command>
339 <command
340 commandId="org.eclipse.ui.file.closeAll"
341 style="push">
342 </command>
343 <separator
344 name="close-separator"
345 visible="true">
346 </separator>
347 <command
348 commandId="org.eclipse.ui.file.save"
349 style="push">
350 </command>
351 <command
352 commandId="org.eclipse.ui.file.saveAs"
353 style="push">
354 </command>
355 <command
356 commandId="org.eclipse.ui.file.saveAll"
357 style="push">
358 </command>
359 <command
360 commandId="org.eclipse.ui.file.revert"
361 style="push">
362 </command>
363 <separator
364 name="save-separator"
365 visible="true">
366 </separator>
367 <command
368 commandId="org.eclipse.ui.edit.move"
369 style="push">
370 </command>
371 <command
372 commandId="org.eclipse.ui.edit.rename"
373 style="push">
374 </command>
375 <command
376 commandId="org.eclipse.ui.file.refresh"
377 style="push">
378 </command>
379 <separator
380 name="move-rename-separator"
381 visible="true">
382 </separator>
383 <command
384 commandId="org.eclipse.ui.file.print"
385 style="push">
386 </command>
387 <separator
388 name="print-separator"
389 visible="true">
390 </separator>
391 <command
392 commandId="org.eclipse.ui.file.restartWorkbench"
393 style="push">
394 </command>
395 <separator
396 name="workspace-separator"
397 visible="true">
398 </separator>
399 <command
400 commandId="org.eclipse.ui.file.import"
401 style="push">
402 </command>
403 <command
404 commandId="org.eclipse.ui.file.export"
405 style="push">
406 </command>
407 <separator
408 name="io-separator"
409 visible="true">
410 </separator>
411 <command
412 commandId="org.eclipse.ui.file.exit"
413 style="push">
414 </command>
415 </menuContribution>
416 <menuContribution
417 locationURI="menu:edit">
418 <command
419 commandId="org.eclipse.ui.edit.undo"
420 style="push">
421 </command>
422 <command
423 commandId="org.eclipse.ui.edit.redo"
424 style="push">
425 </command>
426 <separator
427 name="undo-redo-separator"
428 visible="true">
429 </separator>
430 <command
431 commandId="org.eclipse.ui.edit.cut"
432 style="push">
433 </command>
434 <command
435 commandId="org.eclipse.ui.edit.copy"
436 style="push">
437 </command>
438 <command
439 commandId="org.eclipse.ui.edit.paste"
440 style="push">
441 </command>
442 <separator
443 name="copy-paste-separator"
444 visible="true">
445 </separator>
446 <command
447 commandId="org.eclipse.ui.edit.delete"
448 style="push">
449 </command>
450 <command
451 commandId="org.eclipse.ui.edit.selectAll"
452 style="push">
453 </command>
454 <separator
455 name="delete-selectall-separator"
456 visible="true">
457 </separator>
458 <command
459 commandId="org.eclipse.search.ui.openSearchDialog"
460 style="push">
461 </command>
462 </menuContribution>
463 <menuContribution
464 locationURI="menu:window">
465 <separator
466 name="show-perspective-view-separator"
467 visible="true">
468 </separator>
469 <command
470 commandId="org.eclipse.ui.ToggleCoolbarAction"
471 style="push">
472 </command>
473 <separator
474 name="toolbar-separator"
475 visible="true">
476 </separator>
477 <command
478 commandId="org.eclipse.ui.window.hideShowEditors"
479 style="push">
480 </command>
481 <command
482 commandId="org.eclipse.ui.window.switchToEditor"
483 style="push">
484 </command>
485 <separator
486 name="editor-separator"
487 visible="true">
488 </separator>
489 <command
490 commandId="org.eclipse.ui.window.customizePerspective"
491 style="push">
492 </command>
493 <command
494 commandId="org.eclipse.ui.window.savePerspective"
495 style="push">
496 </command>
497 <command
498 commandId="org.eclipse.ui.window.resetPerspective"
499 style="push">
500 </command>
501 <command
502 commandId="org.eclipse.ui.window.closePerspective"
503 style="push">
504 </command>
505 <command
506 commandId="org.eclipse.ui.window.closeAllPerspectives"
507 style="push">
508 </command>
509 <separator
510 name="perspective-separator"
511 visible="true">
512 </separator>
513 <command
514 commandId="org.eclipse.ui.window.preferences"
515 style="push">
516 </command>
517 </menuContribution>
518 <menuContribution
519 locationURI="toolbar:org.eclipse.ui.workbench.file">
520 <command
521 commandId="org.eclipse.ui.file.save"
522 style="push">
523 </command>
524 <command
525 commandId="org.eclipse.ui.file.saveAll"
526 style="push">
527 </command>
528 <command
529 commandId="org.eclipse.ui.file.print"
530 style="push">
531 </command>
532 </menuContribution>
533 <menuContribution
534 allPopups="false"
535 locationURI="menu:help?after=group.about">
536 <command
537 commandId="org.eclipse.ui.help.aboutAction"
538 icon="src/main/resources/icons/logos/icon_esf_16x16.png"
539 style="push">
540 </command>
541 </menuContribution>
542 </extension>
543 <extension
544 point="org.eclipse.ui.newWizards">
545 <category
546 id="org.polarsys.esf.core.ui.category.samodel"
547 name="%category.wizard.samodel">
548 </category>
549 <wizard
550 category="org.polarsys.esf.core.ui.category.samodel"
551 class="org.polarsys.esf.core.ui.wizards.saproject.ESFProjectWizard"
552 finalPerspective="%perspective.design.id"
553 icon="src/main/resources/icons/files/icon_project_open.png"
554 id="org.polarsys.esf.core.ui.wizard.new.saproject"
555 name="%wizard.new.saproject.name"
556 project="true">
557 <description>
558 %wizard.description
559 </description>
560 </wizard>
561 </extension>
562 <extension
563 point="org.eclipse.ui.services">
564 <sourceProvider
565 provider="org.polarsys.esf.core.ui.rights.RightsSourceProvider">
566 <variable
567 name="rightsVariable"
568 priorityLevel="workbench">
569 </variable>
570 </sourceProvider>
571 </extension>
572 <extension
573 point="org.eclipse.ui.exportWizards">
574 <category
575 id="org.polarsys.esf.core.export"
576 name="%wizard.export.category">
577 </category>
578 </extension>
579 <extension
580 point="org.eclipse.ui.importWizards">
581 <category
582 id="org.polarsys.esf.core.import"
583 name="%wizard.import.category">
584 </category>
585 </extension>
586 <extension
587 point="org.eclipse.ui.views">
588 <view
589 allowMultiple="false"
590 category="org.polarsys.esf.viewcategory"
591 class="org.eclipse.ui.internal.views.log.LogView"
592 icon="src/main/resources/icons/views/icon_views_info_log.png"
593 id="org.polarsys.esf.view.log"
594 name="%view.log.name"
595 restorable="true">
596 </view>
597 </extension>
598 <extension
599 point="org.eclipse.ui.ide.projectNatureImages">
600 <image
601 icon="src/main/resources/icons/files/icon_project_open.png"
602 id="org.polarsys.esf.core.ui.nature"
603 natureId="org.polarsys.esf.project.nature">
604 </image>
605 </extension>
606</plugin>