OSDN Git Service

first commit
[japandigitalstudio/build-jds.git] / bundles.plugins.application.plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 /**
4  * Copyright (C) 2009 BonitaSoft S.A.
5  * BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
6  * 
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 2.0 of the License, or
10  * (at your option) any later version.
11  * 
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License
18  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19  */
20  -->
21 <?eclipse version="3.4"?>
22 <plugin>
23    
24    <extension-point id="PropertiesView" name="Properties View Contribution" schema="schema/PropertiesView.exsd"/>
25    
26    <extension-point id="prestartup" name="Actions to hoot at the preStartup of the workbench" schema="schema/prestartup.exsd"/>
27    <extension-point id="preshutdown" name="Actions to hoot at the preShutdown of the workbench" schema="schema/preshutdown.exsd"/>
28    <extension-point id="postImport" name="Actions to hook after Import" schema="schema/postImport.exsd"/>
29    <extension-point id="preImport" name="Actions to hook before Import" schema="schema/preImport.exsd"/>
30    <extension
31          id="application"
32          point="org.eclipse.core.runtime.applications">
33       <application
34             thread="main"
35             visible="true">
36          <run
37                class="org.bonitasoft.studio.application.BonitaStudioApplication">
38          </run>
39       </application>
40    </extension>
41    <extension
42          point="org.eclipse.ui.menus">
43       <menuContribution
44             locationURI="menu:org.eclipse.ui.main.menu">
45          <menu
46                id="org.bonitasoft.studio.fileMenu"
47                label="%fileMenu_Label">
48             <command
49                   commandId="org.bonitasoft.studio.application.command.deployArtifacts"
50                   style="push">
51             </command>
52             <separator
53                   name="org.bonitasoft.studio.application.deploySeparator"
54                   visible="true">
55             </separator>
56             <menu
57                   icon="icons/menuIcons/recently.png"
58                   label="%RecentlyModified">
59                <dynamic
60                      class="org.bonitasoft.studio.application.actions.ProcessListContribution"
61                      id="org.bonitasoft.studio.application.openRecently">
62                </dynamic>
63             </menu>
64             <command
65                   commandId="org.eclipse.ui.file.save"
66                   disabledIcon="icons/menuIcons/save_disabled.png"
67                   hoverIcon="icons/menuIcons/save_hover.png"
68                   icon="icons/menuIcons/save.png"
69                   label="%saveProcess_label"
70                   style="push">
71             </command>
72             <command
73                   commandId="org.eclipse.ui.file.saveAll"
74                   disabledIcon="icons/menuIcons/save_disabled.png"
75                   hoverIcon="icons/menuIcons/save_hover.png"
76                   icon="icons/menuIcons/save_all.png"
77                   label="%saveAll_label"
78                   style="push">
79             </command>
80             <command
81                   commandId="org.bonitasoft.studio.application.command.saveAs"
82                   disabledIcon="icons/duplicate_disabled.png"
83                   icon="icons/duplicate.png"
84                   style="push">
85             </command>
86             <separator
87                   name="org.bonitasoft.studio.application.separator2"
88                   visible="true">
89             </separator>
90             <menu
91                   id="org.bonitasoft.studio.menu.import"
92                   label="%importLabel">
93                <command
94                      commandId="org.bonitasoft.studio.importer.bos.command"
95                      style="push">
96                </command>
97                <command
98                      commandId="org.bonitasoft.studio.importer.other.command"
99                      style="push">
100                </command>
101             </menu>
102             <separator
103                   name="org.bonitasoft.studio.application.separator5"
104                   visible="true">
105             </separator>
106             <command
107                   commandId="org.bonitasoft.studio.application.printCommand"
108                   disabledIcon="icons/menuIcons/print_disabled.png"
109                   hoverIcon="icons/menuIcons/print_hover.png"
110                   icon="icons/menuIcons/print.png"
111                   label="%printLabel"
112                   style="push">
113             </command>
114             <separator
115                   name="org.bonitasoft.studio.application.separator3"
116                   visible="true">
117             </separator>
118             <command
119                   commandId="org.eclipse.ui.file.close"
120                   icon="icons/menuIcons/close.png"
121                   label="%close"
122                   style="push">
123             </command>
124             <command
125                   commandId="org.eclipse.ui.file.closeAll"
126                   disabledIcon="icons/menuIcons/close_all_disabled.png"
127                   icon="icons/menuIcons/close_all.png"
128                   label="%closeAll"
129                   style="push">
130             </command>
131             <separator
132                   name="org.bonitasoft.studio.application.separator4"
133                   visible="true">
134             </separator>
135             <command
136                   commandId="org.eclipse.ui.file.exit"
137                   icon="icons/menuIcons/exit.png"
138                   label="%exitAction_label"
139                   style="push">
140             </command>
141             <visibleWhen
142                   checkEnabled="true">
143                <reference
144                      definitionId="isBonitaPerspectiveActive">
145                </reference>
146             </visibleWhen>
147          </menu>
148          <menu
149                id="org.bonitasoft.studio.menu.edit"
150                label="%editMenu_label">
151             <command
152                   commandId="org.eclipse.ui.views.showView"
153                   icon="icons/find.png"
154                   label="%findLabel"
155                   mnemonic="F"
156                   style="push">
157                <parameter
158                      name="org.eclipse.ui.views.showView.viewId"
159                      value="org.bonitasoft.studio.views.overview.tree">
160                </parameter>
161             </command>
162              <separator
163                   name="org.bonitasoft.studio.application.separator20"
164                   visible="true">
165             </separator>
166             <command
167                   commandId="org.eclipse.ui.edit.undo"
168                   disabledIcon="icons/undo_disabled.png"
169                   icon="icons/undo.png"
170                   label="%undoLabel"
171                   style="push">
172             </command>
173             <command
174                   commandId="org.eclipse.ui.edit.redo"
175                   disabledIcon="icons/redo_disabled.png"
176                   icon="icons/redo.png"
177                   label="%redoLabel"
178                   style="push">
179             </command>
180             <separator
181                   name="org.bonitasoft.studio.application.separator1"
182                   visible="true">
183             </separator>
184             <command
185                   commandId="org.eclipse.ui.edit.copy"
186                   disabledIcon="icons/menuIcons/copy_disabled.png"
187                   hoverIcon="icons/menuIcons/copy_hover.png"
188                   icon="icons/menuIcons/copy.png"
189                   label="%copyLabel"
190                   style="push">
191             </command>
192             <command
193                   commandId="org.eclipse.ui.edit.paste"
194                   disabledIcon="icons/menuIcons/paste_disabled.png"
195                   hoverIcon="icons/menuIcons/paste_hover.png"
196                   icon="icons/menuIcons/paste.png"
197                   label="%pasteLabel"
198                   style="push">
199             </command>
200             <separator
201                   name="org.bonitasoft.studio.application.separator2"
202                   visible="true">
203             </separator>
204             <command
205                   commandId="org.eclipse.ui.window.preferences"
206                   icon="icons/menuIcons/preferences.png"
207                   style="push">
208             </command>
209             <visibleWhen
210                   checkEnabled="true">
211                <reference
212                      definitionId="isBonitaPerspectiveActive">
213                </reference>
214             </visibleWhen>
215          </menu>
216          
217          <menu
218                id="org.bonitasoft.studio.menu.view"
219                label="%viewMenu_label">
220             <menu
221                   id="org.bonitasoft.studio.menu.view.coolbar"
222                   label="%CoolBarLabel">
223                <command
224                      commandId="org.bonitasoft.studio.application.smallCoolbar"
225                      label="%small">
226                </command>
227                <command
228                      commandId="org.bonitasoft.studio.application.normalCoolbar"
229                      label="%normal">
230                </command>
231             </menu>
232             <command
233                   commandId="org.eclipse.ui.views.showView"
234                   icon="icons/show_view.png"
235                   label="%showOverview_label"
236                   style="push">
237                <parameter
238                      name="org.eclipse.ui.views.showView.viewId"
239                      value="org.bonitasoft.studio.views.overview">
240                </parameter>
241             </command>
242             <command
243                   commandId="org.bonitasoft.studio.application.resetWindowCommand"
244                   disabledIcon="icons/reset_view_disabled.png"
245                   icon="icons/reset_view.png"
246                   label="%resetPerspective_label"
247                   style="push">
248             </command>
249             <command
250                   commandId="org.bonitasoft.studio.application.fullscreen"
251                   icon="icons/full_screen.png"
252                   style="push">
253             </command>
254             <visibleWhen
255                   checkEnabled="true">
256                <reference
257                      definitionId="isBonitaPerspectiveActive">
258                </reference>
259             </visibleWhen>
260          </menu>
261         
262          <!--menu
263                label="%selectProfile">
264             <command
265                   commandId="org.bonitasoft.studio.application.switchToAnalyst"
266                   icon="icons/bonitasoft-icon-16-16-transparent.png"
267                   label="%analystMode">
268             </command>
269             <command
270                   commandId="org.bonitasoft.studio.application.commands.switchToDeveloper"
271                   icon="icons/javaPerspective.gif"
272                   label="%developerMode">
273             </command>
274          </menu-->
275          <menu
276                id="org.bonitasoft.studio.menu.help"
277                label="%help_label">
278             <!--command
279                   commandId="org.bonitasoft.studio.application.openIntroCommand"
280                   hoverIcon="icons/menuIcons/bonita_hover.png"
281                   icon="icons/bonitasoft-icon-16-16-transparent.png"
282                   id="org.bonitasoft.studio.helpMenu.welcomeMenu"
283                   label="%openWelcomePage_label"
284                   style="push">
285             </command-->
286
287             <command
288                   commandId="org.bonitasoft.studio.application.showHelp"
289                   disabledIcon="icons/menuIcons/help_disabled.png"
290                   hoverIcon="icons/menuIcons/help_hover.png"
291                   icon="icons/menuIcons/help.png"
292                   label="%online_documentation"
293                   style="push">
294             </command>
295             <command
296                   commandId="org.bonitasoft.studio.application.command.releaseNote"
297                   style="push">
298             </command>
299             <separator
300                   name="org.bonitasoft.studio.application.help.separator4"
301                   visible="true">
302             </separator>
303             <command
304                   commandId="org.bonitasoft.studio.application.openLog"
305                   icon="icons/log.png"
306                   label="%openLog_label"
307                   style="push">
308             </command>
309             <command
310                   commandId="org.bonitasoft.studio.application.openEngineLog"
311                   icon="icons/log.png"
312                   label="%openEngineLog_label"
313                   style="push">
314             </command>
315             <command
316                   commandId="org.bonitasoft.studio.application.openUidLog"
317                   icon="icons/log.png"
318                   label="%openUidLog"
319                   style="push">
320             </command>
321             <separator
322                   name="org.bonitasoft.studio.application.help.separator2"
323                   visible="true">
324             </separator>
325             <command
326                   commandId="org.eclipse.ui.help.aboutAction"
327                   icon="icons/menuIcons/about.png"
328                   style="push">
329             </command>
330             <visibleWhen
331                   checkEnabled="true">
332                <reference
333                      definitionId="isBonitaPerspectiveActive">
334                </reference>
335             </visibleWhen>
336             </menu>
337          </menuContribution>
338       <menuContribution
339             allPopups="false"
340             locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.new">
341          <menu
342                id="org.bonitasoft.studio.application.project.explorer.new"
343                label="%new"
344                mnemonic="w">
345             <separator
346                   name="org.bonitasoft.studio.application.placeholder.organization"
347                   visible="true">
348             </separator>
349             <separator
350                   name="org.bonitasoft.studio.application.placeholder.bdm"
351                   visible="true">
352             </separator>
353             <separator
354                   name="org.bonitasoft.studio.application.placeholder.profile"
355                   visible="true">
356             </separator>
357             <separator
358                   name="org.bonitasoft.studio.application.placeholder.application"
359                   visible="true">
360             </separator>
361             <separator
362                   name="org.bonitasoft.studio.application.placeholder.diagram"
363                   visible="true">
364             </separator>
365             <separator
366                   name="org.bonitasoft.studio.application.placeholder.uidartifact"
367                   visible="true">
368             </separator>
369             <separator
370                   name="org.bonitasoft.studio.application.placeholder.restapi"
371                   visible="true">
372             </separator>
373             <separator
374                   name="additions"
375                   visible="true">
376             </separator>
377          </menu>
378          <command
379                commandId="org.bonitasoft.studio.application.newWithWizard"
380                mnemonic="w"
381                style="push">
382             <visibleWhen
383                   checkEnabled="true">
384             </visibleWhen>
385          </command>
386          <command
387                commandId="org.bonitasoft.studio.application.new"
388                mnemonic="w"
389                style="push">
390             <visibleWhen
391                   checkEnabled="true">
392             </visibleWhen>
393          </command>
394          <separator
395                name="newSeparator"
396                visible="true">
397          </separator>
398       </menuContribution>
399       <menuContribution
400             allPopups="false"
401             locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.build">
402          <command
403                commandId="org.eclipse.ui.file.refresh"
404                style="push">
405             <visibleWhen
406                   checkEnabled="false">
407                <with
408                      variable="activeMenuSelection">
409                   <and>
410                      <count
411                            value="1">
412                      </count>
413                      <or>
414                         <iterate>
415                            <instanceof
416                                  value="org.eclipse.core.resources.IProject">
417                            </instanceof>
418                         </iterate>
419                      </or>
420                   </and>
421                </with>
422             </visibleWhen>
423          </command>
424          <separator
425                name="buildSeparator">
426          </separator>
427       </menuContribution>
428       <menuContribution
429             allPopups="false"
430             locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.open">
431              <command
432                    commandId="org.bonitasoft.studio.application.open"
433                    id="org.bonitasoft.studio.application.openMenu"
434                    style="push">
435             <visibleWhen
436                   checkEnabled="true">
437             </visibleWhen>
438          </command>
439       </menuContribution>
440       <menuContribution
441             allPopups="false"
442             locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.edit">
443          <command
444                commandId="org.bonitasoft.studio.renameCommand"
445                style="push">
446             <visibleWhen
447                   checkEnabled="true">
448             </visibleWhen>
449          </command>
450          <command
451                commandId="org.bonitasoft.studio.application.edit.project.command"
452                style="push">
453             <visibleWhen
454                   checkEnabled="false">
455                <with
456                      variable="activeMenuSelection">
457                   <and>
458                      <count
459                            value="1">
460                      </count>
461                      <iterate>
462                         <instanceof
463                               value="org.eclipse.core.resources.IProject">
464                         </instanceof>
465                         <test
466                               property="org.bonitasoft.studio.application.isBonitaProject">
467                         </test>
468                      </iterate>
469                   </and>
470                </with>
471             </visibleWhen>
472          </command>
473          <separator
474                name="org.bonitasoft.studio.application.edit.separator"
475                visible="true">
476          </separator>
477          <command
478                commandId="org.eclipse.ui.edit.delete"
479                style="push">
480             <visibleWhen
481                   checkEnabled="true">
482             </visibleWhen>
483          </command>
484       </menuContribution>
485           <menuContribution
486             allPopups="false"
487             locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.deploy">
488          <command
489                commandId="org.bonitasoft.studio.deployCommand"
490                label="%deploy"
491                style="push">
492                <visibleWhen
493                   checkEnabled="true">
494             </visibleWhen>
495          </command>
496          <dynamic
497                class="org.bonitasoft.studio.application.ui.contribution.DeployArtifactsMenuContributionItem"
498                id="org.bonitasoft.studio.application.command.deployArtifacts">
499             <visibleWhen
500                   checkEnabled="false">
501                <with
502                      variable="activeMenuSelection">
503                   <and>
504                      <count
505                            value="1">
506                      </count>
507                      <or>
508                         <iterate>
509                            <instanceof
510                                  value="org.eclipse.core.resources.IProject">
511                            </instanceof>
512                            <test
513                                  property="org.bonitasoft.studio.application.isBonitaProject">
514                            </test>
515                         </iterate>
516                      </or>
517                   </and>
518                </with>
519             </visibleWhen>
520          </dynamic>
521          <separator
522                name="deploySeparator"
523                visible="true">
524          </separator>
525       </menuContribution>
526    <menuContribution
527          allPopups="false"
528          locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.import">
529       <command
530             commandId="org.bonitasoft.studio.application.import"
531             style="push">
532          <visibleWhen
533                checkEnabled="true">
534          </visibleWhen>
535       </command>
536    </menuContribution>
537    <menuContribution
538          allPopups="false"
539          locationURI="popup:org.bonitasoft.studio.application.project.explorer?after=group.export">
540       <command
541             commandId="org.bonitasoft.studio.application.export"
542             style="push">
543          <visibleWhen
544                checkEnabled="true">
545                </visibleWhen>
546       </command>
547    </menuContribution>
548    <menuContribution
549          allPopups="false"
550          locationURI="popup:org.bonitasoft.studio.application.project.explorer?before=group.edit">
551       <command
552             commandId="org.eclipse.ui.ide.showInSystemExplorer"
553             icon="icons/menuIcons/showInExplorer.png"
554             label="%showInSystemExplorer"
555             style="push">
556          <visibleWhen
557                checkEnabled="true">
558          </visibleWhen>
559       </command>
560    </menuContribution>
561    </extension>
562    <extension
563          point="org.eclipse.ui.commands">
564       <command
565             defaultHandler="org.bonitasoft.studio.application.actions.SaveProcessAsCommand"
566             id="org.bonitasoft.studio.application.command.saveAs"
567             name="%saveAs_label">
568       </command>
569       <command
570             defaultHandler="org.bonitasoft.studio.application.actions.OpenIntroCommandHandler"
571             id="org.bonitasoft.studio.application.openIntroCommand"
572             name="%openWelcomePage_label">
573       </command>
574       <command
575             defaultHandler="org.bonitasoft.studio.application.actions.ResetPerspectiveCommand"
576             id="org.bonitasoft.studio.application.resetWindowCommand"
577             name="%resetPerspective_label">
578       </command>
579       <command
580             defaultHandler="org.bonitasoft.studio.application.actions.ShowHelpCommand"
581             id="org.bonitasoft.studio.application.showHelp"
582             name="%showHelp_label">
583       </command>
584       <command
585             defaultHandler="org.bonitasoft.studio.application.actions.OpenConsoleCommand"
586             id="org.bonitasoft.studio.application.openConsole"
587             name="%openConsoleActionLabel">
588       </command>
589       <command
590             defaultHandler="org.bonitasoft.studio.application.actions.OpenApplicationCommand"
591             id="org.bonitasoft.studio.application.openApplication"
592             name="%openAppplicationActionLabel">
593       </command>
594       <command
595             defaultHandler="org.bonitasoft.studio.application.actions.OpenLogCommand"
596             id="org.bonitasoft.studio.application.openLog"
597             name="%openLog_commandLabel">
598       </command>
599       <command
600             defaultHandler="org.bonitasoft.studio.application.actions.PrintCommandHandler"
601             id="org.bonitasoft.studio.application.printCommand"
602             name="%printLabel">
603       </command>
604       <command
605             defaultHandler="org.bonitasoft.studio.application.actions.OpenEngineLogCommand"
606             id="org.bonitasoft.studio.application.openEngineLog"
607             name="%openEngineLog_commandLabel">
608       </command>
609       <command
610             defaultHandler="org.bonitasoft.studio.application.actions.RefreshConnectorHandler"
611             id="org.bonitasoft.studio.application.refreshconnectorcommand"
612             name="%refreshConnectors_commandLabel">
613       </command>
614       <command
615             defaultHandler="org.bonitasoft.studio.application.actions.SwitchPaletteMode"
616             id="org.bonitasoft.studio.application.switchPalette"
617             name="switch palette">
618          <commandParameter
619                id="org.bonitasoft.studio.application.switch.advanced"
620                name="advanced"
621                optional="true">
622          </commandParameter>
623       </command>
624       <command
625             defaultHandler="org.bonitasoft.studio.application.actions.SwitchPaletteMode"
626             id="org.bonitasoft.studio.application.paletteSimple"
627             name="switch palette to simple">
628       </command>
629       <command
630             defaultHandler="org.bonitasoft.studio.application.actions.SwitchPaletteMode"
631             id="org.bonitasoft.studio.application.paletteAdvanced"
632             name="switch palette to advanced">
633       </command>
634       <command
635             defaultHandler="org.bonitasoft.studio.application.actions.coolbar.SmallCoolBarHandler"
636             id="org.bonitasoft.studio.application.smallCoolbar"
637             name="%small">
638       </command>
639       <command
640             defaultHandler="org.bonitasoft.studio.application.actions.coolbar.NormalCoolBarHandler"
641             id="org.bonitasoft.studio.application.normalCoolbar"
642             name="%normal">
643       </command>
644       <command
645             defaultHandler="org.bonitasoft.studio.application.actions.FullscreenHandler"
646             id="org.bonitasoft.studio.application.fullscreen"
647             name="%fullscreen">
648       </command>
649       <command
650             defaultHandler="org.bonitasoft.studio.application.actions.RenameDiagramCommandHandler"
651             id="org.bonitasoft.studio.application.command.rename"
652             name="Rename Command">
653          <commandParameter
654                id="diagram"
655                name="Diagram to rename"
656                optional="true">
657          </commandParameter>
658       </command>
659       <command
660             defaultHandler="org.bonitasoft.studio.application.handler.ImportArtifactsFromZipHandler"
661             id="org.bonitasoft.studio.repository.importArtifacts"
662             name="import artifacts">
663       </command>
664       <command
665             defaultHandler="org.bonitasoft.studio.application.actions.OpenUIDLogCommand"
666             id="org.bonitasoft.studio.application.openUidLog"
667             name="%openUidLog">
668       </command>
669       <command
670             id="org.bonitasoft.studio.application.open"
671             name="%Open">
672       </command>
673       <command
674             id="org.bonitasoft.studio.deployCommand"
675             name="%deploy">
676       </command>
677       <command
678             id="org.bonitasoft.studio.application.import"
679             name="%import">
680       </command>
681       <command
682             id="org.bonitasoft.studio.application.export"
683             name="%export">
684             </command>
685           <command
686             id="org.bonitasoft.studio.renameCommand"
687             name="%rename">
688       </command>
689    <command
690          id="org.bonitasoft.studio.application.new"
691          name="%new">
692    </command>
693    <command
694          id="org.bonitasoft.studio.application.newWithWizard"
695          name="%newWithWizard">
696    </command>
697    </extension>
698    <extension
699          point="org.eclipse.ui.views">
700       <view
701             category="org.bonitasoft.studio.application.bonita"
702             class="org.bonitasoft.studio.application.views.BonitaContentOutlineView"
703             icon="icons/overview.png"
704             id="org.bonitasoft.studio.views.overview"
705             name="%overviewViewName"
706             restorable="true">
707       </view>
708       <view
709             category="org.bonitasoft.studio.application.bonita"
710             class="org.bonitasoft.studio.application.views.process.BonitaGeneralProcessPropertiesView"
711             icon="icons/details.png"
712             id="org.bonitasoft.studio.views.properties.process.general"
713             name="%General_process"
714             restorable="true">
715       </view>
716       <category
717             id="org.bonitasoft.studio.application.bonita"
718             name="Bonita">
719       </category>
720       <view
721             category="org.bonitasoft.studio.application.bonita"
722             class="org.bonitasoft.studio.application.views.process.BonitaAppearencePropertiesView"
723             icon="icons/appearanceView.png"
724             id="org.bonitasoft.studio.views.properties.process.appearance"
725             name="%Appearance"
726             restorable="true">
727       </view>
728       <view
729             category="org.bonitasoft.studio.application.bonita"
730             class="org.bonitasoft.studio.application.views.BonitaContentOutlineTreeView"
731             icon="icons/overview.png"
732             id="org.bonitasoft.studio.views.overview.tree"
733             name="%TreeOverView"
734             restorable="true">
735       </view>
736       <view
737             category="org.bonitasoft.studio.application.bonita"
738             class="org.bonitasoft.studio.application.views.process.BonitaDataPropertiesView"
739             icon="icons/Picto_Studio_Data_16x16.png"
740             id="org.bonitasoft.studio.views.properties.process.data"
741             name="%Data"
742             restorable="true">
743       </view>
744       <view
745             category="org.bonitasoft.studio.application.bonita"
746             class="org.bonitasoft.studio.application.views.process.BonitaExecutionPropertiesView"
747             icon="icons/Execution-D.png"
748             id="org.bonitasoft.studio.views.properties.process.execution"
749             name="%Execution"
750             restorable="true">
751       </view>
752       <view
753             category="org.bonitasoft.studio.application.bonita"
754             class="org.bonitasoft.studio.application.views.BonitaProjectExplorer"
755             icon="icons/bonitasoft-icon-16-16-transparent.png"
756             id="org.bonitasoft.studio.application.project.explorer"
757             inject="true"
758             name="%projectExplorer"
759             restorable="true">
760       </view>
761    </extension>
762    <extension
763          point="org.eclipse.ui.activities">
764       <activity
765             description="searchActivity to remove from studio"
766             id="org.bonitasoft.studio.application.searchActivity"
767             name="SearchActivity">
768       </activity>
769       <activityPatternBinding
770             activityId="org.bonitasoft.studio.application.searchActivity"
771             pattern="org.eclipse.search.*">
772       </activityPatternBinding>
773    </extension>
774    <extension
775          point="org.eclipse.ui.handlers">
776       <handler
777             class="org.bonitasoft.studio.application.actions.UndoCommandHandler"
778             commandId="org.eclipse.ui.edit.undo">
779          <enabledWhen>
780             <reference
781                   definitionId="isActiveEditorAnInstanceOfBonitaEditor">
782             </reference>
783          </enabledWhen>
784       </handler>
785       <handler
786             class="org.bonitasoft.studio.application.actions.RedoCommandHandler"
787             commandId="org.eclipse.ui.edit.redo">
788          <enabledWhen>
789             <reference
790                   definitionId="isActiveEditorAnInstanceOfBonitaEditor">
791             </reference>
792          </enabledWhen>
793       </handler>
794       <handler
795             class="org.bonitasoft.studio.application.actions.SaveCommandHandler"
796             commandId="org.eclipse.ui.file.save">
797          <activeWhen>
798             <reference
799                   definitionId="isBonitaPerspectiveActive">
800             </reference>
801          </activeWhen>
802       </handler>
803       <handler
804             class="org.bonitasoft.studio.application.actions.RefreshHandler"
805             commandId="org.eclipse.ui.file.refresh">
806          <activeWhen>
807             <with
808                   variable="activeEditor">
809                <instanceof
810                      value="org.eclipse.ui.editors.text.TextEditor">
811                </instanceof>
812             </with>
813          </activeWhen>
814       </handler>
815       <handler
816             class="org.bonitasoft.studio.application.actions.AboutDialogHandler"
817             commandId="org.eclipse.ui.help.aboutAction">
818           <activeWhen>
819              <and>
820                 <reference
821                       definitionId="isABonitaProduct">
822                 </reference>
823                 <with
824                       variable="activeContexts">
825                    <iterate
826                          ifEmpty="true"
827                          operator="or">
828                       <equals
829                             value="org.eclipse.ui.contexts.window">
830                       </equals>
831                    </iterate>
832                 </with>
833              </and>
834         </activeWhen>
835     </handler>
836       <handler
837             class="org.bonitasoft.studio.application.handler.RefreshProjectHandler"
838             commandId="org.eclipse.ui.file.refresh">
839             <activeWhen>
840                <with
841                      variable="activeMenuSelection">
842                   <and>
843                      <count
844                            value="1">
845                      </count>
846                      <iterate>
847                         <instanceof
848                               value="org.eclipse.core.resources.IResource">
849                         </instanceof>
850                      </iterate>
851                   </and>
852                </with>
853             </activeWhen>
854       </handler>
855       <handler
856             class="org.bonitasoft.studio.application.handler.OpenHandler"
857             commandId="org.bonitasoft.studio.application.open">
858       </handler>
859       <handler
860             class="org.bonitasoft.studio.application.handler.DeleteHandler"
861             commandId="org.eclipse.ui.edit.delete">
862           </handler>
863           <handler
864             class="org.bonitasoft.studio.application.handler.DeployHandler"
865             commandId="org.bonitasoft.studio.deployCommand">
866       </handler>
867    <handler
868          class="org.bonitasoft.studio.application.handler.RenameHandler"
869          commandId="org.bonitasoft.studio.renameCommand">
870    </handler>
871    </extension>
872    <extension
873          point="org.eclipse.core.expressions.definitions">
874       <definition
875             id="isActiveEditorAnInstanceOfBonitaEditor">
876          <or>
877             <with
878                   variable="activeEditor">
879                <instanceof
880                      value="org.bonitasoft.studio.model.process.diagram.part.ProcessDiagramEditor">
881                </instanceof>
882             </with>
883          </or>
884       </definition>
885       <definition
886             id="isABonitaProduct">
887          <or>
888             <with
889                   variable="org.eclipse.core.runtime.Platform">
890                <test
891                      property="org.eclipse.core.runtime.product"
892                      value="org.bonitasoft.studio.product">
893                </test>
894                          </with>
895          </or>
896       </definition>
897       <definition
898             id="isBonitaPerspectiveActive">
899             <or>
900          <with
901                variable="activeWorkbenchWindow.activePerspective">
902             <equals
903                   value="org.bonitasoft.studio.perspective.process">
904             </equals>
905          </with>
906          <with
907                variable="activeWorkbenchWindow.activePerspective">
908             <equals
909                   value="org.bonitasoft.studio.perspective.java">
910             </equals>
911          </with>
912          <with
913                variable="activeWorkbenchWindow.activePerspective">
914             <equals
915                   value="org.bonitasoft.studio.perspective.textEditor">
916             </equals>
917          </with>
918          <with
919                variable="activeWorkbenchWindow.activePerspective">
920             <equals
921                   value="org.bonitasoft.studio.perspective.welcomePage">
922             </equals>
923          </with>
924          <with
925                variable="activeWorkbenchWindow.activePerspective">
926             <equals
927                   value="org.bonitasoft.studio.rest.api.extension.perspective">
928             </equals>
929          </with>
930          <with
931                variable="activeWorkbenchWindow.activePerspective">
932            <equals
933                   value="org.bonitasoft.studio.la.perspective">
934             </equals>
935          </with>
936           <with
937                variable="activeWorkbenchWindow.activePerspective">
938            <equals
939                   value="com.bonitasoft.studio.la.perspective">
940             </equals>
941          </with>
942               <with
943                variable="activeWorkbenchWindow.activePerspective">
944            <equals
945                   value="org.bonitasoft.studio.defaultProfile.perspective">
946             </equals>
947          </with>
948          <with
949                variable="activeWorkbenchWindow.activePerspective">
950            <equals
951                   value="com.bonitasoft.studio.customProfile.perspective">
952             </equals>
953          </with>
954          <with
955                variable="activeWorkbenchWindow.activePerspective">
956            <equals
957                   value="org.bonitasoft.studio.bdm.access.control.perspective">
958             </equals>
959          </with>
960          <with
961                variable="activeWorkbenchWindow.activePerspective">
962            <equals
963                   value="org.bonitasoft.studio.team.compare.perspective">
964             </equals>
965          </with>
966            <with
967                variable="activeWorkbenchWindow.activePerspective">
968            <equals
969                   value="org.bonitasoft.studio.perspective.markdownEditor">
970            </equals>
971          </with>
972          <with
973                variable="activeWorkbenchWindow.activePerspective">
974            <equals
975                   value="org.bonitasoft.studio.businessobject.perspective">
976             </equals>
977          </with>
978          <with
979                variable="activeWorkbenchWindow.activePerspective">
980            <equals
981                   value="org.bonitasoft.studio.identity.organization.perspective">
982             </equals>
983          </with>
984          <with
985                variable="activeWorkbenchWindow.activePerspective">
986            <equals
987                   value="org.bonitasoft.studio.application.extension.perspective">
988             </equals>
989          </with>
990          </or>
991       </definition>
992       <definition
993             id="isActiveEditorAnInstanceOfProcessEditor">
994          <with
995                variable="activeEditor">
996             <instanceof
997                   value="org.bonitasoft.studio.model.process.diagram.part.ProcessDiagramEditor">
998             </instanceof>
999          </with>
1000       </definition>
1001    </extension>
1002
1003    <extension
1004          point="org.eclipse.ui.propertiesView">
1005       <excludeSources
1006             id="org.bonitasoft.studio.views.properties.application">
1007       </excludeSources>
1008       <excludeSources
1009             id="org.bonitasoft.studio.views.properties.form.general">
1010       </excludeSources>
1011       <excludeSources
1012             id="org.bonitasoft.studio.views.properties.appearance">
1013       </excludeSources>
1014       <excludeSources
1015             id="org.bonitasoft.studio.views.overview">
1016       </excludeSources>
1017    </extension>
1018    <extension
1019          point="org.bonitasoft.studio.common.poststartup">
1020       <contribution
1021             class="org.bonitasoft.studio.application.contribution.CheckJavaVersionPostStartupContribution">
1022       </contribution>
1023    </extension>
1024    <extension
1025          id="id1"
1026          point="org.eclipse.equinox.security.secureStorage">
1027       <provider
1028             class="org.bonitasoft.studio.application.security.BonitaStudioPasswordProvider"
1029             description="Bonita Studio default password provider"
1030             priority="10">
1031       </provider>
1032    </extension>
1033    <extension
1034          point="org.eclipse.ui.bindings">
1035       <key
1036             commandId="org.bonitasoft.studio.application.fullscreen"
1037             contextId="org.eclipse.ui.contexts.dialogAndWindow"
1038             platform="win32"
1039             schemeId="org.bonitasoft.studio.application.scheme"
1040             sequence="F11">
1041       </key>
1042       <key
1043             commandId="org.bonitasoft.studio.application.fullscreen"
1044             contextId="org.eclipse.ui.contexts.dialogAndWindow"
1045             platform="cocoa"
1046             schemeId="org.bonitasoft.studio.application.scheme"
1047             sequence="M1+M3+F11">
1048       </key>
1049       <key
1050             commandId="org.bonitasoft.studio.application.fullscreen"
1051             contextId="org.eclipse.ui.contexts.dialogAndWindow"
1052             platform="gtk"
1053             schemeId="org.bonitasoft.studio.application.scheme"
1054             sequence="F11">
1055       </key>
1056       <key
1057             commandId="org.eclipse.ui.views.showView"
1058             contextId="org.bonitasoft.studio.model.process.diagram.form.ui.diagramContext"
1059             schemeId="org.bonitasoft.studio.application.scheme"
1060             sequence="M1+F">
1061          <parameter
1062                id="org.eclipse.ui.views.showView.viewId"
1063                value="org.bonitasoft.studio.views.overview.tree">
1064          </parameter>
1065       </key>
1066       <key
1067             commandId="org.eclipse.ui.views.showView"
1068             contextId="org.bonitasoft.studio.model.process.diagram.ui.diagramContext"
1069             schemeId="org.bonitasoft.studio.application.scheme"
1070             sequence="M1+F">
1071          <parameter
1072                id="org.eclipse.ui.views.showView.viewId"
1073                value="org.bonitasoft.studio.views.overview.tree">
1074          </parameter>
1075       </key>
1076       <key
1077             commandId="org.eclipse.ui.views.showView"
1078             contextId="org.eclipse.ui.contexts.dialogAndWindow"
1079             schemeId="org.bonitasoft.studio.application.scheme"
1080             sequence="M1+M3+O">
1081          <parameter
1082                id="org.eclipse.ui.views.showView.viewId"
1083                value="org.bonitasoft.studio.views.overview">
1084          </parameter>
1085       </key>
1086       <key
1087             commandId="org.bonitasoft.studio.application.open"
1088             contextId="org.eclipse.ui.contexts.window"
1089             schemeId="org.bonitasoft.studio.application.scheme"
1090             sequence="F3">
1091       </key>
1092       <scheme
1093             id="org.bonitasoft.studio.application.scheme"
1094             name="BonitaBPM Scheme"
1095             parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
1096       </scheme>
1097       <key
1098             commandId="org.bonitasoft.studio.deployCommand"
1099             contextId="org.eclipse.ui.contexts.window"
1100             schemeId="org.bonitasoft.studio.application.scheme"
1101             sequence="M1+M2+D">
1102       </key>
1103       <key
1104             commandId="org.bonitasoft.studio.renameCommand"
1105             contextId="org.eclipse.ui.contexts.window"
1106             schemeId="org.bonitasoft.studio.application.scheme"
1107             sequence="M1+R">
1108       </key>
1109    </extension>
1110    <extension
1111          point="org.eclipse.ui.popupMenus">
1112       <viewerContribution
1113             id="org.bonitasoft.studio.application.refreshAction"
1114             targetID="#TextEditorContext">
1115          <action
1116                class="org.bonitasoft.studio.application.actions.EditorRefreshActionDelegate"
1117                icon="icons/refresh.png"
1118                id="org.bonitasoft.studio.application.refreshAction"
1119                label="%Refresh"
1120                menubarPath="additions">
1121          </action>
1122       </viewerContribution>
1123    </extension>
1124    <extension
1125          point="org.bonitasoft.studio.coolbarContributionItem">
1126       <coolbarItem
1127             class="org.bonitasoft.studio.application.coolbar.NewCoolbarItem"
1128             priority="0"
1129             toolbarPosition="0">
1130       </coolbarItem>
1131       <coolbarItem
1132             class="org.bonitasoft.studio.application.coolbar.ProjectOverviewCoolbarItem"
1133             priority="0"
1134             toolbarPosition="2">
1135       </coolbarItem>
1136       <coolbarItem
1137             class="org.bonitasoft.studio.application.coolbar.DeployCoolbarItem"
1138             toolbarPosition="3">
1139       </coolbarItem>
1140       <coolbarItem
1141             class="org.bonitasoft.studio.application.coolbar.SaveCoolbarItem"
1142             priority="0"
1143             toolbarPosition="6">
1144       </coolbarItem>
1145       <coolbarItem
1146             class="org.bonitasoft.studio.application.coolbar.SeparatorCoolbarItem"
1147             priority="0"
1148             toolbarPosition="10">
1149       </coolbarItem>
1150       <coolbarItem
1151             class="org.bonitasoft.studio.application.coolbar.SeparatorCoolbarItem"
1152             priority="0"
1153             toolbarPosition="13">
1154       </coolbarItem>
1155       <coolbarItem
1156             class="org.bonitasoft.studio.application.coolbar.SeparatorCoolbarItem"
1157             priority="0"
1158             toolbarPosition="16">
1159       </coolbarItem>
1160       <coolbarItem
1161             class="org.bonitasoft.studio.application.coolbar.PreferenceCoolbarItem"
1162             priority="0"
1163             toolbarPosition="18">
1164       </coolbarItem>
1165       <coolbarItem
1166             class="org.bonitasoft.studio.application.coolbar.HelpCoolbarItem"
1167             priority="0"
1168             toolbarPosition="19">
1169       </coolbarItem>
1170       <coolbarItem
1171             class="org.bonitasoft.studio.application.coolbar.WelcomeCoolbarItem"
1172             priority="0"
1173             toolbarPosition="20">
1174       </coolbarItem>
1175    </extension>
1176    <extension
1177          point="org.eclipse.ui.startup">
1178       <startup
1179             class="org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor">
1180       </startup>
1181    </extension>
1182    <extension
1183          point="org.eclipse.ui.contexts">
1184       <context
1185             description="Bonita context"
1186             id="org.bonitasoft.studio.context.id"
1187             name="Bonita"
1188             parentId="org.eclipse.ui.contexts.window">
1189       </context>
1190    </extension>
1191    <extension
1192          id="id1"
1193          point="org.eclipse.e4.workbench.model">
1194       <processor
1195             apply="always"
1196             beforefragment="false"
1197             class="org.bonitasoft.studio.application.RemoveQuickAccessProcessor">
1198       </processor>
1199       <fragment
1200             uri="fragment.e4xmi">
1201       </fragment>
1202    </extension>
1203    <extension
1204          point="org.eclipse.ui.navigator.viewer">
1205       <viewer
1206             viewerId="org.bonitasoft.studio.application.project.explorer">
1207          <popupMenu
1208                allowsPlatformContributions="false"
1209                id="org.bonitasoft.studio.application.project.explorer#PopupMenu">
1210             <insertionPoint
1211                   name="group.new"
1212                   separator="true">
1213             </insertionPoint>
1214             <insertionPoint
1215                   name="group.open"
1216                   separator="true">
1217             </insertionPoint>
1218             <insertionPoint
1219                   name="group.edit"
1220                   separator="true">
1221             </insertionPoint>
1222             <insertionPoint
1223                   name="group.reorganize"
1224                   separator="true">
1225             </insertionPoint>
1226             <insertionPoint
1227                   name="group.deploy">
1228             </insertionPoint>
1229             <insertionPoint
1230                   name="group.build"
1231                   separator="false">
1232             </insertionPoint>
1233             <insertionPoint
1234                   name="group.uninstall">
1235             </insertionPoint>
1236             <insertionPoint
1237                   name="group.import"
1238                   separator="true">
1239             </insertionPoint>
1240             <insertionPoint
1241                   name="group.export">
1242             </insertionPoint>
1243             <insertionPoint
1244                   name="group.manage.dependencies"
1245                                   separator="true">
1246             </insertionPoint>
1247             <insertionPoint
1248                   name="additions"
1249                   separator="true">
1250             </insertionPoint>
1251           </popupMenu>
1252       </viewer>
1253       <viewerContentBinding
1254             viewerId="org.bonitasoft.studio.application.project.explorer">
1255          <includes>
1256                  <contentExtension
1257                   pattern="org.bonitasoft.studio.application.navigatorContent">
1258             </contentExtension>
1259             <contentExtension
1260                   pattern="org.eclipse.ui.navigator.resources.nested.nestedProjectContentProvider">
1261             </contentExtension>
1262             <contentExtension
1263                   pattern="org.eclipse.ui.navigator.resources.linkHelper">
1264             </contentExtension>
1265             <contentExtension
1266                   pattern="org.eclipse.ui.navigator.resources.filters.*">
1267             </contentExtension>
1268               <contentExtension
1269                   pattern="org.eclipse.jdt.java.ui.javaLinkHelper">
1270             </contentExtension>
1271               <contentExtension
1272                     pattern="org.codehaus.groovy.eclipse.ui.groovyContent">
1273               </contentExtension>
1274             <contentExtension
1275                   pattern="org.eclipse.jdt.java.ui.filters.*">
1276             </contentExtension>
1277             <contentExtension
1278                   pattern="org.bonitasoft.studio.application.project.explorer.filters.*">
1279             </contentExtension>
1280             <contentExtension
1281                   pattern="org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested">
1282             </contentExtension>
1283             <contentExtension
1284                   pattern="org.bonitasoft.studio.application.HideTopLevelProjectIfNested">
1285             </contentExtension>
1286             <contentExtension
1287                   pattern="org.bonitasoft.studio.application.hideEmptyFolders">
1288             </contentExtension>
1289             <contentExtension
1290                   pattern="org.bonitasoft.studio.application.hideClasspathContainers">
1291             </contentExtension>
1292          </includes>
1293          <excludes>
1294             <contentExtension
1295                   pattern="org.eclipse.ui.navigator.resources.filters.closedProject">
1296             </contentExtension>
1297          </excludes>
1298       </viewerContentBinding>
1299    </extension>
1300    <extension
1301          point="org.eclipse.ui.navigator.navigatorContent">
1302       <navigatorContent
1303             activeByDefault="true"
1304             contentProvider="org.bonitasoft.studio.application.views.provider.BonitaExplorerContentProvider"
1305             id="org.bonitasoft.studio.application.navigatorContent"
1306             labelProvider="org.bonitasoft.studio.application.views.provider.BonitaExplorerLabelProvider"
1307             name="Bonita Project Explorer Content"
1308             priority="highest">
1309          <triggerPoints>
1310                 <or>
1311                     <adapt type="org.eclipse.core.resources.IProject" >
1312                         <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.jdt.core.javanature"/>
1313                     </adapt>
1314                     <instanceof value="org.eclipse.core.resources.IResource" />
1315                     <instanceof value="org.eclipse.jdt.core.IJavaElement" />
1316                     <instanceof value="org.eclipse.jdt.core.IJarEntryResource" />
1317                     <instanceof value="org.eclipse.jdt.internal.ui.packageview.PackageFragmentRootContainer" />
1318                 </or>
1319             </triggerPoints>
1320             <possibleChildren>
1321                 <or>
1322                     <instanceof value="org.eclipse.core.resources.IResource" />
1323                     <instanceof value="org.eclipse.jdt.core.IJavaElement" />
1324                     <instanceof value="org.eclipse.jdt.core.IJarEntryResource" />
1325                     <instanceof value="org.eclipse.jdt.internal.ui.packageview.PackageFragmentRootContainer" />
1326                 </or>
1327             </possibleChildren> 
1328          <actionProvider
1329                class="org.bonitasoft.studio.application.views.provider.CustomOpenActionProvider"
1330                id="org.bonitasoft.studio.application.views.OpenActionProvider">
1331          </actionProvider>
1332          <commonSorter
1333                class="org.bonitasoft.studio.application.views.ProjectExplorerViewerComparator"
1334                id="org.eclipse.ui.navigator.resources.sorters.defaultSorter">
1335          </commonSorter>
1336          <actionProvider
1337                class="org.eclipse.jdt.internal.ui.navigator.JavaNavigatorRefactorActionProvider"
1338                id="org.bonitasoft.studio.navigator.actions.RefactorActions"
1339                overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions">
1340             <enablement>
1341              <and>
1342                 <or>
1343                    <and>
1344                       <instanceof
1345                             value="org.eclipse.core.resources.IProject">
1346                       </instanceof>
1347                       <test
1348                             property="org.eclipse.core.resources.projectNature"
1349                             value="org.eclipse.jdt.core.javanature">
1350                       </test>
1351                    </and>
1352                    <instanceof
1353                          value="org.eclipse.jdt.core.IJavaElement">
1354                    </instanceof>
1355                    <instanceof
1356                          value="org.eclipse.jdt.core.IJarEntryResource">
1357                    </instanceof>
1358                    <instanceof
1359                          value="org.eclipse.jdt.internal.ui.packageview.PackageFragmentRootContainer">
1360                    </instanceof>
1361                    <instanceof
1362                          value="org.eclipse.core.resources.IFile">
1363                    </instanceof>
1364                    <adapt
1365                          type="java.util.Collection">
1366                       <count
1367                             value="0">
1368                       </count>
1369                    </adapt>
1370                 </or>
1371                 <not>
1372                    <instanceof
1373                          value="org.eclipse.jdt.core.IPackageFragmentRoot">
1374                    </instanceof>
1375                 </not>
1376                </and>
1377             </enablement>
1378          </actionProvider>
1379       </navigatorContent>
1380       <commonFilter
1381             activeByDefault="true"
1382             class="org.bonitasoft.studio.application.views.filters.ProvidedContentFilter"
1383             description="Artifacts that are provided by Bonita and should nor be edited"
1384             id="org.bonitasoft.studio.application.project.explorer.filters.providedContent"
1385             name="Provided content"
1386             visibleInUI="true">
1387       </commonFilter>
1388       <commonFilter
1389             activeByDefault="true"
1390             class="org.bonitasoft.studio.application.views.filters.HideTopLevelProjectIfNested"
1391             description="When a project is shown as nested under its container, hide the view of the project as immediate child of workspace or working set"
1392             id="org.bonitasoft.studio.application.HideTopLevelProjectIfNested"
1393             name="Nested Projects: hide top-level project if shown as nested">
1394       </commonFilter>
1395       <commonFilter
1396             activeByDefault="true"
1397             class="org.bonitasoft.studio.application.views.filters.HideEmptyRepository"
1398             id="org.bonitasoft.studio.application.hideEmptyFolders"
1399             name="Hide empty repository"
1400             visibleInUI="true">
1401       </commonFilter>
1402       <commonFilter
1403             activeByDefault="true"
1404             class="org.bonitasoft.studio.application.views.filters.HideClasspathContainer"
1405             id="org.bonitasoft.studio.application.hideClasspathContainers"
1406             name="Hide classpath containers">
1407       </commonFilter>
1408    </extension>
1409    <extension
1410          point="org.eclipse.ui.navigator.linkHelper">
1411       <linkHelper
1412             class="org.bonitasoft.studio.application.views.ExtendendResourceLinkHelper"
1413             id="org.bonitasoft.studio.application.extendedResourceLinkHelper">
1414          <editorInputEnablement>
1415             <instanceof
1416                   value="org.eclipse.emf.common.ui.URIEditorInput">
1417             </instanceof></editorInputEnablement>
1418          <selectionEnablement>
1419             <instanceof
1420                   value="org.eclipse.core.resources.IFile">
1421             </instanceof>
1422          </selectionEnablement>
1423       </linkHelper>
1424    </extension>
1425    <extension
1426          point="org.eclipse.core.expressions.propertyTesters">
1427       <propertyTester
1428             class="org.bonitasoft.studio.application.property.tester.BonitaProjectPropertyTester"
1429             id="org.bonitasoft.studio.application.project.propertyTester"
1430             namespace="org.bonitasoft.studio.application"
1431             properties="isBonitaProject,isBonitaStoreContainer,isContainer"
1432             type="org.eclipse.core.runtime.IAdaptable">
1433       </propertyTester>
1434       <propertyTester
1435             class="org.bonitasoft.studio.application.property.tester.GroovySrcPropertyTester"
1436             id="org.bonitasoft.studio.groovy.ui.GroovySrcPropertyTester"
1437             namespace="org.bonitasoft.studio.groovy.ui"
1438             properties="isGroovySrcFolder"
1439             type="org.eclipse.core.runtime.IAdaptable">
1440       </propertyTester>
1441    </extension>
1442    <extension
1443          point="org.eclipse.ui.perspectives">
1444       <perspective
1445             class="org.bonitasoft.studio.application.perspective.PerspectiveJavaFactory"
1446             id="org.bonitasoft.studio.perspective.java"
1447             name="Java Perspective">
1448       </perspective>
1449       <perspective
1450             class="org.bonitasoft.studio.application.perspective.WelcomePagePerspectiveFactory"
1451             id="org.bonitasoft.studio.perspective.welcomePage"
1452             name="No editor opened perspective">
1453       </perspective>
1454       <perspective
1455             class="org.bonitasoft.studio.application.perspective.TextEditorPerspectiveFactory"
1456             id="org.bonitasoft.studio.perspective.textEditor"
1457             name="Text Perspective">
1458       </perspective>
1459       <perspective
1460             class="org.bonitasoft.studio.application.views.overview.ProjectOverviewPerspective"
1461             fixed="true"
1462             id="org.bonitasoft.studio.application.extension.perspective"
1463             name="%projectExtensionPerspective">
1464       </perspective>
1465    </extension>
1466    <extension
1467          point="org.eclipse.ui.perspectiveExtensions">
1468       <perspectiveExtension
1469             targetID="*">
1470          <hiddenMenuItem
1471                id="org.eclipse.jdt.ui.refactoring.menu">
1472          </hiddenMenuItem>
1473          <hiddenMenuItem
1474                id="org.eclipse.search.menu">
1475          </hiddenMenuItem>
1476          <hiddenMenuItem
1477                id="org.eclipse.jdt.ui/org.eclipse.jdt.ui.refactoring.menu">
1478          </hiddenMenuItem>
1479          <hiddenMenuItem
1480                id="org.eclipse.jdt.ui.source.menu">
1481          </hiddenMenuItem>
1482          <hiddenMenuItem
1483                id="org.eclipse.ui.run">
1484          </hiddenMenuItem>
1485       </perspectiveExtension>
1486    </extension>
1487    <extension
1488          point="org.eclipse.ui.menus">
1489       <menuContribution
1490             allPopups="false"
1491             locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=additions">
1492              <command
1493                    commandId="org.bonitasoft.studio.application.newFile.command"
1494                    icon="icons/newfile_wiz.png"
1495                    style="push">
1496                   <visibleWhen
1497                   checkEnabled="false">
1498                    <with
1499                          variable="activeMenuSelection">
1500                       <and>
1501                          <count
1502                                value="1">
1503                          </count>
1504                          <iterate>
1505                           <and>
1506                              <not>
1507                                 <test
1508                                       property="org.bonitasoft.studio.application.isBonitaStoreContainer">
1509                                 </test>
1510                              </not>
1511                              <test
1512                                    property="org.bonitasoft.studio.application.isContainer">
1513                              </test>
1514                           </and>
1515                          </iterate>
1516                       </and>
1517                    </with>
1518                 </visibleWhen>
1519             </command>
1520             <command
1521                   commandId="org.bonitasoft.studio.application.newFolder.command"
1522                   icon="icons/newfolder_wiz.gif"
1523                   style="push">
1524                   <visibleWhen
1525                   checkEnabled="false">
1526                    <with
1527                          variable="activeMenuSelection">
1528                       <and>
1529                          <count
1530                                value="1">
1531                          </count>
1532                          <iterate>
1533                            <and>
1534                               <not>
1535                                  <test
1536                                        property="org.bonitasoft.studio.application.isBonitaStoreContainer">
1537                                  </test>
1538                               </not>
1539                               <test
1540                                     property="org.bonitasoft.studio.application.isContainer">
1541                               </test>
1542                            </and>
1543                          </iterate>
1544                       </and>
1545                    </with>
1546                 </visibleWhen>
1547             </command>
1548       </menuContribution>
1549    </extension>
1550    <extension
1551          point="org.eclipse.ui.editors">
1552       <editor
1553             class="org.bonitasoft.studio.application.views.overview.ProjectOverviewEditorPart"
1554             default="false"
1555             id="org.bonitasoft.studio.application.dashboard.editor"
1556             name="%projectOverviewView">
1557       </editor>
1558    </extension>
1559    <extension
1560          point="org.eclipse.ui.preferencePages">
1561       <page
1562             category="org.bonitasoft.studio.preferences.pages.BPM"
1563             class="org.bonitasoft.studio.application.preference.MavenPreferencePage"
1564             id="org.bonitasoft.studio.preferences.maven"
1565             name="Maven">
1566          <keywordReference
1567                id="org.bonitasoft.studio.application.extension.keyword">
1568          </keywordReference>
1569       </page>
1570    </extension>
1571    <extension
1572          point="org.eclipse.ui.keywords">
1573       <keyword
1574             id="org.bonitasoft.studio.application.extension.keyword"
1575             label="%extensionKeywords">
1576       </keyword>
1577    </extension>
1578       <extension
1579          point="org.bonitasoft.studio.common.dashboardContribution">
1580       <dashboardContribution
1581             class="org.bonitasoft.studio.application.views.overview.DiagramOverviewContribution">
1582       </dashboardContribution>
1583    </extension>
1584
1585 </plugin>