plugin.xml 22.6 KB
Newer Older
Romain Bioteau's avatar
Romain Bioteau committed
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<plugin>

4 5
   <extension
         point="org.eclipse.emf.ecore.generated_package">
Romain Bioteau's avatar
Romain Bioteau committed
6 7
      <package
            uri="http://www.bonitasoft.org/organization"
8 9
            class="org.bonitasoft.studio.actors.model.organization.OrganizationPackage">
      </package>
Romain Bioteau's avatar
Romain Bioteau committed
10
   </extension>
11 12
   <extension
         point="org.eclipse.emf.ecore.extension_parser">
Romain Bioteau's avatar
Romain Bioteau committed
13 14
      <parser
            type="organization"
15 16
            class="org.bonitasoft.studio.actors.model.organization.util.OrganizationResourceFactoryImpl">
      </parser>
Romain Bioteau's avatar
Romain Bioteau committed
17
   </extension>
18
   <extension
Romain Bioteau's avatar
Romain Bioteau committed
19
         point="org.eclipse.ui.menus">
20 21 22 23 24 25 26
      <menuContribution
            allPopups="false"
            locationURI="menu:org.eclipse.ui.main.menu?after=org.bonitasoft.studio.menu.edit">
         <menu
               label="%actors_Label"
               id="org.bonitasoft.studio.actor.organizationMenu">
            <command
Romain Bioteau's avatar
Romain Bioteau committed
27 28 29 30
                  commandId="org.bonitasoft.studio.organization.manage"
                  icon="icons/manage.png"
                  style="push">
            </command>
31
            <separator
Romain Bioteau's avatar
Romain Bioteau committed
32 33 34
                  name="separator0"
                  visible="true">
            </separator>
35 36
            <command
                  commandId="org.bonitasoft.studio.organization.publish"
Romain Bioteau's avatar
Romain Bioteau committed
37 38 39
                  icon="icons/synchronize.png"
                  style="push">
            </command>
40
            <separator
Romain Bioteau's avatar
Romain Bioteau committed
41 42 43
                  name="separator1"
                  visible="true">
            </separator>
44
            <command
Romain Bioteau's avatar
Romain Bioteau committed
45 46 47 48
                  commandId="org.bonitasoft.studio.actors.export"
                  icon="icons/organization_export.png"
                  style="push">
            </command>
49
            <command
Romain Bioteau's avatar
Romain Bioteau committed
50 51 52 53
                  commandId="org.bonitasoft.studio.actors.import"
                  icon="icons/organization_import.png"
                  style="push">
            </command>
54 55 56 57
         </menu>
      </menuContribution>
      <menuContribution
            allPopups="false"
58
            locationURI="menu:org.bonitasoft.studio.development?after=org.bonitasoft.studio.menu.connector">
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
         <menu
               label="%Filters"
               icon="icons/actor_filter.png"
               id="org.bonitasoft.studio.menu.filter">
            <command
                  commandId="org.bonitasoft.studio.actors.newFilterDef"
                  icon="icons/actor_filter-def-new.png"
                  style="push">
            </command>
            <command
                  commandId="org.bonitasoft.studio.actors.editFilterDef"
                  icon="icons/actor_filter-def-edit.png"
                  style="push">
            </command>
            <separator
                  name="org.bonitasoft.studio.actors.separator"
                  visible="true">
            </separator>
            <command
                  commandId="org.bonitasoft.studio.actors.newFilterImpl"
                  icon="icons/actor_filter-implem-new.png"
                  style="push">
            </command>
            <command
                  commandId="org.bonitasoft.studio.actors.editFilterImpl"
                  icon="icons/actor_filter-implem-edit.png"
                  style="push">
            </command>
            <separator
                  name="org.bonitasoft.studio.actors.separator1"
                  visible="true">
            </separator>
            <command
                  commandId="org.bonitasoft.studio.actors.filter.export"
                  icon="icons/actor_filter-export.png"
                  style="push">
            </command>
            <command
                  commandId="org.bonitasoft.studio.actors.filter.import"
                  icon="icons/actor_filter-import.png"
                  style="push">
            </command>
         </menu>
      </menuContribution>
103 104
      <menuContribution
            allPopups="false"
105
            locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.organization">
106 107 108
         <command
               commandId="org.bonitasoft.studio.organization.manage"
               id="org.bonitasoft.studio.organization.manage.popup.menu"
109
               label="%newOrganizationLabel"
110 111 112
               mnemonic="O"
               style="push">
            <visibleWhen
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
                  checkEnabled="false">
               <with
                     variable="activeMenuSelection">
                  <and>
                     <count
                           value="1">
                     </count>
                     <or>
                        <iterate>
                           <instanceof
                                 value="org.eclipse.core.resources.IProject">
                           </instanceof>
                           <test
                                 property="org.bonitasoft.studio.application.isBonitaProject">
                           </test>
                        </iterate>
                     </or>
                  </and>
               </with>
132 133
            </visibleWhen>
         </command>
134 135 136 137
      </menuContribution>
      <menuContribution
            allPopups="false"
            locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.actor">
138
         <command
Romain Bioteau's avatar
Romain Bioteau committed
139
               commandId="org.bonitasoft.studio.actors.newFilterDef"
140 141 142
               label="%newFilterDefMenu"
               style="push">
            <visibleWhen
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
                  checkEnabled="false">
               <with
                     variable="activeMenuSelection">
                  <and>
                     <count
                           value="1">
                     </count>
                     <or>
                        <iterate>
                           <instanceof
                                 value="org.eclipse.core.resources.IProject">
                           </instanceof>
                           <test
                                 property="org.bonitasoft.studio.application.isBonitaProject">
                           </test>
                        </iterate>
                     </or>
                  </and>
               </with>
162 163 164
            </visibleWhen>
         </command>
         <command
Romain Bioteau's avatar
Romain Bioteau committed
165
               commandId="org.bonitasoft.studio.actors.newFilterImpl"
166 167 168
               label="%newFilterImplMenu"
               style="push">
            <visibleWhen
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
                  checkEnabled="false">
               <with
                     variable="activeMenuSelection">
                  <and>
                     <count
                           value="1">
                     </count>
                     <or>
                        <iterate>
                           <instanceof
                                 value="org.eclipse.core.resources.IProject">
                           </instanceof>
                           <test
                                 property="org.bonitasoft.studio.application.isBonitaProject">
                           </test>
                        </iterate>
                     </or>
                  </and>
               </with>
188 189 190
            </visibleWhen>
         </command>
      </menuContribution>
Romain Bioteau's avatar
Romain Bioteau committed
191
   </extension>
192
   <extension
Romain Bioteau's avatar
Romain Bioteau committed
193 194 195
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.ExportOrganizationHandler"
196 197 198 199 200 201 202 203 204 205 206 207
            name="%export_Label"
            id="org.bonitasoft.studio.actors.export">
      </command>
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.NewFilterDefinitionHandler"
            name="%newFilterDef"
            id="org.bonitasoft.studio.actors.newFilterDef">
      </command>
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.EditFilterDefinitionHandler"
            name="%editFilterDef"
            id="org.bonitasoft.studio.actors.editFilterDef">
Romain Bioteau's avatar
Romain Bioteau committed
208 209
      </command>
      <command
210 211 212
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.NewFilterImplementationHandler"
            name="%newFilterImpl"
            id="org.bonitasoft.studio.actors.newFilterImpl">
Romain Bioteau's avatar
Romain Bioteau committed
213
      </command>
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
      <command
            name="%installOrganization"
            id="org.bonitasoft.studio.engine.installOrganization">
         <commandParameter
               name="artifact"
               optional="false"
               id="artifact">
         </commandParameter>
      </command>
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.EditFilterImplementationHandler"
            name="%editFilterImpl"
            id="org.bonitasoft.studio.actors.editFilterImpl">
      </command>
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.ExportActorFilterHandler"
            name="%export_Label"
            id="org.bonitasoft.studio.actors.filter.export">
      </command>
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.ImportActorFilterHandler"
            name="%import_Label"
            id="org.bonitasoft.studio.actors.filter.import">
Romain Bioteau's avatar
Romain Bioteau committed
237
      </command>
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
   </extension>
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
      <propertyTabs
            contributorId="org.bonitasoft.studio.diagram">
         <propertyTab
               label="%actor_tab_label"
               category="domain"
               afterTab="tab.data"
               id="tab.actors">
         </propertyTab>
      </propertyTabs>
   </extension>
   <extension
         point="org.eclipse.ui.views.properties.tabbed.propertySections">
      <propertySections
            contributorId="org.bonitasoft.studio.diagram">
         <propertySection
               filter="org.bonitasoft.studio.actors.ui.section.filter.AssignableActorsFilter"
               tab="tab.actors"
               class="org.bonitasoft.studio.actors.ui.section.AssignableActorsPropertySection"
               enablesFor="1"
               id="section.assignable.actors"
               viewID="org.bonitasoft.studio.views.properties.process.general">
         </propertySection>
         <propertySection
               filter="org.bonitasoft.studio.actors.ui.section.filter.ProcessActorsFilter"
               tab="tab.actors"
               class="org.bonitasoft.studio.actors.ui.section.ProcessActorsPropertySection"
               enablesFor="1"
               id="section.process.actors"
               viewID="org.bonitasoft.studio.views.properties.process.general">
         </propertySection>
         <propertySection
               filter="org.bonitasoft.studio.actors.ui.section.filter.LaneActorFilter"
               tab="tab.actors"
               class="org.bonitasoft.studio.actors.ui.section.LaneAssignableActorsPropertySection"
               enablesFor="1"
               id="section.lane.actors"
               viewID="org.bonitasoft.studio.views.properties.process.general">
         </propertySection>
      </propertySections>
   </extension>
   <extension
         point="org.bonitasoft.studio.configuration.wizardPage">
      <configurationWizardPage
            priority="0"
            class="org.bonitasoft.studio.actors.configuration.ActorMappingConfigurationWizardPage">
      </configurationWizardPage>
      <configurationWizardPage
            priority="6"
            class="org.bonitasoft.studio.actors.configuration.ActorFilterConfigurationWizardPage">
      </configurationWizardPage>
   </extension>
   <extension
         point="org.bonitasoft.studio.configuration.importConfigurationAction">
      <importConfigurationAction
            class="org.bonitasoft.studio.actors.action.ImportActorMappingAction">
      </importConfigurationAction>
   </extension>
   <extension
         point="org.bonitasoft.studio.configuration.exportConfigurationAction">
      <exportConfigurationAction
            class="org.bonitasoft.studio.actors.action.ExportActorMappingAction">
      </exportConfigurationAction>
      <exportConfigurationAction
            class="org.bonitasoft.studio.actors.configuration.ExportActorFiltersAction">
      </exportConfigurationAction>
   </extension>
   <extension
         point="org.bonitasoft.studio.repositoryStore">
      <repositoryStore
            class="org.bonitasoft.studio.actors.repository.OrganizationRepositoryStore">
      </repositoryStore>
      <repositoryStore
            class="org.bonitasoft.studio.actors.repository.ActorFilterSourceRepositoryStore">
      </repositoryStore>
      <repositoryStore
            class="org.bonitasoft.studio.actors.repository.ActorFilterDefRepositoryStore">
      </repositoryStore>
      <repositoryStore
            class="org.bonitasoft.studio.actors.repository.ActorFilterImplRepositoryStore">
      </repositoryStore>
      <repositoryStore
            class="org.bonitasoft.studio.actors.repository.ActorFilterConfRepositoryStore">
      </repositoryStore>
   </extension>
   <extension
         point="org.bonitasoft.studio.repository.fileContribution">
      <fileContribution
            class="org.bonitasoft.studio.actors.repository.DefaultOrganizationContribution">
      </fileContribution>
   </extension>
   <extension
         point="org.bonitasoft.studio.configuration.synchronizer">
      <synchronier
            class="org.bonitasoft.studio.actors.configuration.ActorFiltersConfigurationSynchronizer">
      </synchronier>
      <synchronier
            class="org.bonitasoft.studio.actors.configuration.ActorMappingConfigurationSynchronizer">
      </synchronier>
   </extension>
   <extension
         point="org.bonitasoft.studio.common.barResourcesProvider">
      <barResourceProvider
            providerClass="org.bonitasoft.studio.actors.configuration.ActorFilterBarResourceProvider">
      </barResourceProvider>
   </extension>
   <extension
         point="org.bonitasoft.studio.bosArchiveProvider">
      <bosArchiveProvider
            providerClass="org.bonitasoft.studio.actors.repository.ActorFilterResourceProvider">
      </bosArchiveProvider>
   </extension>
   <extension
         point="org.eclipse.emf.edapt.migrators">
      <migrator
            path="model/Organization.history">
      </migrator>
   </extension>
   <extension
         point="org.bonitasoft.studio.engine.postEngineAction">
      <action
            class="org.bonitasoft.studio.actors.action.PublishActiveOrganizationAction">
      </action>
   </extension>
   <extension
         point="org.bonitasoft.studio.connectors.connectorWizard">
      <connectorWizard
            DefinitionId="custom-user-info"
            useDefaultOutputPage="true"
            priority="5"
            useDefaultGeneratedPages="false">
         <configurationPage
               page="org.bonitasoft.studio.actors.ui.wizard.connector.CustomUserInfoConnectorConfigurationWizardPage">
         </configurationPage>
      </connectorWizard>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            commandId="org.bonitasoft.studio.engine.installOrganization"
            class="org.bonitasoft.studio.actors.ui.handler.InstallOrganizationHandler">
         <activeWhen>
            <reference
                  definitionId="isABonitaProduct">
            </reference>
         </activeWhen>
      </handler>
387 388 389 390
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ImportOrganizationHandler"
            commandId="org.bonitasoft.studio.application.import">
         <activeWhen>
391 392 393 394 395 396 397 398 399 400 401 402 403
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.organization.isOrganizationFolder">
                     </test>
                  </iterate>
               </and>
            </with>
404 405 406 407 408 409
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ExportOrganizationHandler"
            commandId="org.bonitasoft.studio.application.export">
         <activeWhen>
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <test
                              property="org.bonitasoft.studio.organization.isOrganizationFolder">
                        </test>
                        <test
                              property="org.bonitasoft.studio.organization.isOrganizationFile">
                        </test>
                     </or>
                  </iterate>
               </and>
            </with>
428 429
         </activeWhen>
      </handler>
430 431
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ManageOrganizationHandler"
432
            commandId="org.bonitasoft.studio.application.newWithWizard">
433
         <activeWhen>
434 435 436 437 438 439 440 441 442 443 444 445 446
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.organization.isOrganizationFolder">
                     </test>
                  </iterate>
               </and>
            </with>
447 448 449 450 451 452
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.NewFilterDefinitionHandler"
            commandId="org.bonitasoft.studio.application.newWithWizard">
         <activeWhen>
453 454 455 456 457 458 459 460 461 462 463 464 465
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.actors.isActorFilterDefFolder">
                     </test>
                  </iterate>
               </and>
            </with>
466 467 468 469 470 471
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.NewFilterImplementationHandler"
            commandId="org.bonitasoft.studio.application.newWithWizard">
         <activeWhen>
472 473 474 475 476 477 478 479 480 481 482 483 484
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.actors.isActorFilterImplFolder">
                     </test>
                  </iterate>
               </and>
            </with>
485 486
         </activeWhen>
      </handler>
487 488 489 490
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ImportActorFilterHandler"
            commandId="org.bonitasoft.studio.application.import">
         <activeWhen>
491 492 493 494 495 496 497 498 499 500 501 502 503
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.actors.isActorFilterImplFolder">
                     </test>
                  </iterate>
               </and>
            </with>
504 505 506 507 508 509
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ExportActorFilterHandler"
            commandId="org.bonitasoft.studio.application.export">
         <activeWhen>
510 511 512 513 514 515 516 517 518 519 520 521 522
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.actors.isActorFilterImplFolder">
                     </test>
                  </iterate>
               </and>
            </with>
523 524 525 526 527 528
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ExportSingleActorFilterHandler"
            commandId="org.bonitasoft.studio.application.export">
         <activeWhen>
529 530 531 532 533 534 535 536 537 538 539 540 541
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.actors.isActorFilterImplFile">
                     </test>
                  </iterate>
               </and>
            </with>
542 543 544 545 546 547
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ExportActorFilterFromDefinitionHandler"
            commandId="org.bonitasoft.studio.application.export">
         <activeWhen>
548 549 550 551 552 553 554 555 556 557 558 559 560
            <with
                  variable="activeMenuSelection">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <test
                           property="org.bonitasoft.studio.actors.isActorFilterDefFile">
                     </test>
                  </iterate>
               </and>
            </with>
561 562
         </activeWhen>
      </handler>
563 564 565 566 567 568 569 570
   </extension>
   <extension
         id="org.bonitasoft.studio.actors.fragment"
         point="org.eclipse.e4.workbench.model">
      <fragment
            uri="fragment.e4xmi">
      </fragment>
   </extension>
571 572 573
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
574
            class="org.bonitasoft.studio.actors.propertyTester.OrganizationPropertyTester"
575
            id="org.bonitasoft.studio.actors.organizationTester"
576
            namespace="org.bonitasoft.studio.organization"
577 578 579
            properties="isOrganizationFolder,isOrganizationFile"
            type="org.eclipse.core.runtime.IAdaptable">
      </propertyTester>
580 581 582 583 584 585 586
      <propertyTester
            class="org.bonitasoft.studio.actors.propertyTester.ActorPropertyTester"
            id="org.bonitasoft.studio.actors.actorTester"
            namespace="org.bonitasoft.studio.actors"
            properties="isActorFilterDefFolder,isActorFilterDefFile,isActorFilterImplFolder,isActorFilterImplFile"
            type="org.eclipse.core.runtime.IAdaptable">
      </propertyTester>
587
   </extension>
Adrien's avatar
Adrien committed
588 589 590 591 592 593 594 595 596 597 598 599 600 601 602
   <extension
         point="org.eclipse.ui.commandImages">
      <image
            commandId="org.bonitasoft.studio.organization.manage"
            icon="icons/organization.png">
      </image>
      <image
            commandId="org.bonitasoft.studio.actors.newFilterDef"
            icon="icons/actor_filter-def-new.png">
      </image>
      <image
            commandId="org.bonitasoft.studio.actors.newFilterImpl"
            icon="icons/actor_filter-implem-new.png">
      </image>
   </extension>
Romain Bioteau's avatar
Romain Bioteau committed
603 604

</plugin>