plugin.xml 12.3 KB
Newer Older
Romain Bioteau's avatar
Romain Bioteau committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<!--
 Copyright (C) 2009-2012 BonitaSoft S.A.
 BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 2.0 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<plugin>

<extension point="org.eclipse.emf.ecore.generated_package">
      <package
            uri="http://www.bonitasoft.org/organization"
            class="org.bonitasoft.studio.actors.model.organization.OrganizationPackage"/>
   </extension>

   <extension point="org.eclipse.emf.ecore.extension_parser">
      <parser
            type="organization"
            class="org.bonitasoft.studio.actors.model.organization.util.OrganizationResourceFactoryImpl"/>
   </extension>
    <extension
         point="org.eclipse.ui.menus">
          <menuContribution
                allPopups="false"
                locationURI="menu:org.eclipse.ui.main.menu?after=org.bonitasoft.studio.menu.edit">
            <menu
                  id="org.bonitasoft.studio.actor.organizationMenu"
                  label="%actors_Label">
                   <command
                  commandId="org.bonitasoft.studio.organization.manage"
                  icon="icons/manage.png"
                  style="push">
            </command>
              <separator
                  name="separator0"
                  visible="true">
            </separator>
             <command
                  commandId="org.bonitasoft.studio.organization.synchronize"
                  icon="icons/synchronize.png"
                  style="push">
            </command>
                   <separator
                  name="separator1"
                  visible="true">
            </separator>
               <command
                  commandId="org.bonitasoft.studio.actors.export"
                  icon="icons/organization_export.png"
                  style="push">
            </command>
               <command
                  commandId="org.bonitasoft.studio.actors.import"
                  icon="icons/organization_import.png"
                  style="push">
            </command>
            
            </menu>
            </menuContribution>
          <menuContribution
                allPopups="false"
                locationURI="menu:org.bonitasoft.studio.development?after=org.bonitasoft.studio.menu.connector">
             <menu
                   icon="icons/actor_filter.png"
                   id="org.bonitasoft.studio.menu.filter"
                   label="%Filters">
                <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>
   </extension>
   
    <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.ExportOrganizationHandler"
            id="org.bonitasoft.studio.actors.export"
            name="%export_Label">
      </command>
      <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.ImportOrganizationHandler"
            id="org.bonitasoft.studio.actors.import"
            name="%import_Label">
      </command>
       <command
            defaultHandler="org.bonitasoft.studio.actors.ui.handler.SynchronizeOrganizationHandler"
            id="org.bonitasoft.studio.organization.synchronize"
            name="%loadOrganization_Label">
      </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.ManageOrganizationHandler"
             id="org.bonitasoft.studio.organization.manage"
             name="%manageOrganization_Label">
       </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.NewFilterDefinitionHandler"
             id="org.bonitasoft.studio.actors.newFilterDef"
             name="%newFilterDef">
       </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.EditFilterDefinitionHandler"
             id="org.bonitasoft.studio.actors.editFilterDef"
             name="%editFilterDef">
       </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.NewFilterImplementationHandler"
             id="org.bonitasoft.studio.actors.newFilterImpl"
             name="%newFilterImpl">
       </command>
         <command
       		  defaultHandler="org.bonitasoft.studio.actors.ui.handler.InstallOrganizationHandler"
             id="org.bonitasoft.studio.engine.installOrganization"
             name="%installOrganization">
       </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.EditFilterImplementationHandler"
             id="org.bonitasoft.studio.actors.editFilterImpl"
             name="%editFilterImpl">
       </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.ExportActorFilterHandler"
             id="org.bonitasoft.studio.actors.filter.export"
             name="%export_Label">
       </command>
       <command
             defaultHandler="org.bonitasoft.studio.actors.ui.handler.ImportActorFilterHandler"
             id="org.bonitasoft.studio.actors.filter.import"
             name="%import_Label">
       </command>
      </extension>
    <extension
          point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
       <propertyTabs
             contributorId="org.bonitasoft.studio.diagram">
          <propertyTab
                afterTab="tab.lane"
                category="domain"
                id="tab.actors"
                label="%actor_tab_label">
          </propertyTab>
       </propertyTabs>
    </extension>
    <extension
          point="org.eclipse.ui.views.properties.tabbed.propertySections">
       <propertySections
             contributorId="org.bonitasoft.studio.diagram">
          <propertySection
                class="org.bonitasoft.studio.actors.ui.section.AssignableActorsPropertySection"
                enablesFor="1"
                filter="org.bonitasoft.studio.actors.ui.section.filter.AssignableActorsFilter"
                id="section.assignable.actors"
                tab="tab.actors"
                viewID="org.bonitasoft.studio.views.properties.process.general">
          </propertySection>
          <propertySection
                class="org.bonitasoft.studio.actors.ui.section.ProcessActorsPropertySection"
                enablesFor="1"
                filter="org.bonitasoft.studio.actors.ui.section.filter.ProcessActorsFilter"
                id="section.process.actors"
                tab="tab.actors"
                viewID="org.bonitasoft.studio.views.properties.process.general">
          </propertySection>
          <propertySection
                class="org.bonitasoft.studio.actors.ui.section.LaneAssignableActorsPropertySection"
                enablesFor="1"
                filter="org.bonitasoft.studio.actors.ui.section.filter.LaneActorFilter"
                id="section.lane.actors"
                tab="tab.actors"
                viewID="org.bonitasoft.studio.views.properties.process.general">
          </propertySection>
       </propertySections>
    </extension>
    <extension
          point="org.bonitasoft.studio.configuration.wizardPage">
       <configurationWizardPage
             class="org.bonitasoft.studio.actors.configuration.ActorMappingConfigurationWizardPage"
             priority="0">
       </configurationWizardPage>
       <configurationWizardPage
             class="org.bonitasoft.studio.actors.configuration.ActorFilterConfigurationWizardPage"
             priority="6">
       </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>

</plugin>