plugin.xml 17.5 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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
               mnemonic="O"
               style="push">
            <visibleWhen
                  checkEnabled="true">
               <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>
            </visibleWhen>
         </command>
131 132 133 134
      </menuContribution>
      <menuContribution
            allPopups="false"
            locationURI="popup:org.bonitasoft.studio.application.project.explorer.new?after=org.bonitasoft.studio.application.placeholder.actor">
135
         <command
Romain Bioteau's avatar
Romain Bioteau committed
136
               commandId="org.bonitasoft.studio.actors.newFilterDef"
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
               label="%newFilterDefMenu"
               style="push">
            <visibleWhen
                  checkEnabled="true">
               <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>
            </visibleWhen>
         </command>
         <command
Romain Bioteau's avatar
Romain Bioteau committed
158
               commandId="org.bonitasoft.studio.actors.newFilterImpl"
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
               label="%newFilterImplMenu"
               style="push">
            <visibleWhen
                  checkEnabled="true">
               <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>
            </visibleWhen>
         </command>
      </menuContribution>
Romain Bioteau's avatar
Romain Bioteau committed
181
   </extension>
182
   <extension
Romain Bioteau's avatar
Romain Bioteau committed
183 184 185
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.ExportOrganizationHandler"
186 187 188 189 190 191 192 193 194 195 196 197
            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
198 199
      </command>
      <command
200 201 202
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.NewFilterImplementationHandler"
            name="%newFilterImpl"
            id="org.bonitasoft.studio.actors.newFilterImpl">
Romain Bioteau's avatar
Romain Bioteau committed
203
      </command>
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
      <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
227
      </command>
228 229 230 231 232 233 234 235 236 237 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
   </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>
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ImportOrganizationHandler"
            commandId="org.bonitasoft.studio.application.import">
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <test
                        property="org.bonitasoft.studio.actors.isOrganizationFolder">
                  </test>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ExportOrganizationHandler"
            commandId="org.bonitasoft.studio.application.export">
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <or>
                     <test
                           property="org.bonitasoft.studio.actors.isOrganizationFolder">
                     </test>
                     <test
                           property="org.bonitasoft.studio.actors.isOrganizationFile">
                     </test></or>
               </iterate>
            </and>
         </activeWhen>
      </handler>
413 414
      <handler
            class="org.bonitasoft.studio.actors.ui.handler.ManageOrganizationHandler"
415
            commandId="org.bonitasoft.studio.application.newWithWizard">
416 417 418 419 420 421 422 423 424 425 426 427 428
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <test
                        property="org.bonitasoft.studio.actors.isOrganizationFolder">
                  </test>
               </iterate>
            </and>
         </activeWhen>
      </handler>
429 430 431 432 433 434 435 436
   </extension>
   <extension
         id="org.bonitasoft.studio.actors.fragment"
         point="org.eclipse.e4.workbench.model">
      <fragment
            uri="fragment.e4xmi">
      </fragment>
   </extension>
437 438 439 440 441 442 443 444 445 446
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.bonitasoft.studio.actors.ui.handler.OrganizationPropertyTester"
            id="org.bonitasoft.studio.actors.organizationTester"
            namespace="org.bonitasoft.studio.actors"
            properties="isOrganizationFolder,isOrganizationFile"
            type="org.eclipse.core.runtime.IAdaptable">
      </propertyTester>
   </extension>
Adrien's avatar
Adrien committed
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
   <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
462 463

</plugin>