Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4a57beb83a4d514094004317b4d93d4ff0f23d36 (plain) (blame)
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
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
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
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
 Copyright (c) 2010, 2015 CEA, Christian W. Damus, and others.
 
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html
 
 Contributors:
   CEA - Initial API and implementation
   Christian W. Damus (CEA) - bug 323802
   Christian W. Damus - bug 433206
   
-->
<plugin>
   <extension
         point="org.eclipse.papyrus.infra.viewpoints.policy.custom">
      <contribution
            file="model/communicationdiagram.configuration"
            original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration">
      </contribution>
   </extension>
      
   <extension
         point="org.eclipse.ui.commands">
      <command
			categoryId="org.eclipse.papyrus.editor.category"
            description="Create a new Communication Diagram "
            id="org.eclipse.papyrus.uml.diagram.communication.CreateCommunicationDiagramCommand"
            name="Create a new Communication Diagram">
      </command>
   </extension>
   
   
   
   <extension
         point="org.eclipse.papyrus.infra.ui.papyrusDiagram">
      <editorDiagram
            factoryClass="org.eclipse.papyrus.uml.diagram.communication.CommunicationDiagramEditorFactory"
            icon="icons/obj16/Diagram_Communication.gif">
      </editorDiagram>
      <creationCommand
            creationCommandClass="org.eclipse.papyrus.uml.diagram.communication.CreateCommunicationDiagramCommand"
            creationCondition="org.eclipse.papyrus.uml.diagram.communication.CommunicationDiagramCreationCondition"
            icon="icons/obj16/Diagram_Communication.gif"
            id="org.eclipse.papyrus.uml.diagram.communication.CreateCommunicationDiagramCommand"
            label="Communication Diagram"
            language="uml">
      </creationCommand>
   </extension>


<extension point="org.eclipse.gmf.runtime.common.ui.services.markerNavigationProviders" id="markers-navigation">
				      <?gmfgen generated="true"?>
				      <MarkerNavigationProvider class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLMarkerNavigationProvider">
				         <MarkerType name="org.eclipse.papyrus.uml.diagram.communication.diagnostic"/>
				         <Priority name="Lowest"/>
				      </MarkerNavigationProvider>
				   </extension>

<extension id="diagnostic" name="org.eclipse.papyrus.uml.diagram.communication problems" point="org.eclipse.core.resources.markers">
				      <?gmfgen generated="true"?>
				      <super type="org.eclipse.core.resources.problemmarker"/>
				      <super type="org.eclipse.gmf.runtime.common.ui.services.marker"/>
				      <persistent value="true"/>
				   </extension>   <extension
			id="org.eclipse.papyrus.uml.diagram.communication.palettedefinition"
			name="org.eclipse.papyrus.uml.diagram.communication Predefined Entries"
			point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders"> 
			
			<?gmfgen generated="true"?>	
			<paletteProvider class="org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">
				<Priority name="Lowest"/>
				   		<contribution
				   		    	factoryClass="org.eclipse.papyrus.uml.diagram.communication.part.UMLPaletteFactory">
				   		<predefinedEntry id="standardGroup/noteStack/noteTool" remove="true"/> 
				<predefinedEntry id="standardGroup/noteStack/textTool" remove="true"/> 
				<predefinedEntry id="standardGroup/noteStack/noteattachmentTool" remove="true"/>
				
				<entry
				      defineOnly="true"
				      description="Create a Lifeline"
				      id="communication.tool.lifeline"
				      kind="tool"
				      label="Lifeline"
				      large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Lifeline.gif"
				      path=""
				      small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Lifeline.gif">
				</entry>
				<entry
				      defineOnly="true"
				      description="Create new Comment"
				      id="communication.tool.comment"
				      kind="tool"
				      label="Comment"
				      large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Comment.gif"
				      path=""
				      small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Comment.gif">
				</entry>
				<entry
				      defineOnly="true"
				      description="Create a constraint"
				      id="communication.tool.constraint"
				      kind="tool"
				      label="Constraint"
				      large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Constraint.gif"
				      path=""
				      small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Constraint.gif">
				</entry>
				<entry
				      defineOnly="true"
				      description="Create a Duration Observation on a Message"
				      id="communication.tool.durationobservation"
				      kind="tool"
				      label="Duration Observation"
				      large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/DurationObservation.gif"
				      path=""
				      small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/DurationObservation.gif">
				</entry>
				<entry
				      defineOnly="true"
				      description="Create a Time Observation"
				      id="communication.tool.timeobservation"
				      kind="tool"
				      label="Time Observation"
				      large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/TimeObservation.gif"
				      path=""
				      small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/TimeObservation.gif">
				</entry>
				<entry
				      defineOnly="true"
				      description="MessageCreate"
				      id="createMessageCreateCreationTool"
				      kind="tool"
				      label="Message"
				      large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Message_createMessage.gif"
				      path=""
				      small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Message_createMessage.gif">
				</entry>
				<entry
				      defineOnly="true"
				      description="Creation of a link for comment, constraint, TimeObservation, DurationObservation"
				      id="createLink13CreationTool"
				      kind="tool"
				      label="Link"
				      large_icon="icons/obj16/Link.gif"
				      path=""
				      small_icon="icons/obj16/Link.gif">
				</entry>
				
				</contribution>
			</paletteProvider>	
				
		</extension>

<extension
	id="org.eclipse.papyrus.uml.diagram.communication.standard"
	name="org.eclipse.papyrus.uml.diagram.communication Standard Palette"
	point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders"> 
	
	<?gmfgen generated="true"?>	
	<paletteProvider class="org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">
		<Priority name="Low"/>
		   		<contribution
		   		    	factoryClass="org.eclipse.papyrus.uml.diagram.communication.part.UMLPaletteFactory">
		   		<predefinedEntry id="standardGroup/noteStack/noteTool" remove="true"/> 
		<predefinedEntry id="standardGroup/noteStack/textTool" remove="true"/> 
		<predefinedEntry id="standardGroup/noteStack/noteattachmentTool" remove="true"/>
		
		<entry
		      description="Nodes"
		      id="communication.group.nodes"
		      kind="drawer"
		      label="Nodes"
		      large_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
		      path="/"
		      small_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif">
		   <expand
		         force="true">
		   </expand>
		</entry>
		<predefinedEntry
		        id="communication.tool.lifeline"
				path="/communication.group.nodes">
		  </predefinedEntry>
		<predefinedEntry
		        id="communication.tool.comment"
				path="/communication.group.nodes">
		  </predefinedEntry>
		<predefinedEntry
		        id="communication.tool.constraint"
				path="/communication.group.nodes">
		  </predefinedEntry>
		<predefinedEntry
		        id="communication.tool.durationobservation"
				path="/communication.group.nodes">
		  </predefinedEntry>
		<predefinedEntry
		        id="communication.tool.timeobservation"
				path="/communication.group.nodes">
		  </predefinedEntry>
		<entry
		      description="Edges tools"
		      id="createEdges2Group"
		      kind="drawer"
		      label="Edges"
		      large_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
		      path="/"
		      small_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif">
		   <expand
		         force="true">
		   </expand>
		</entry>
		<predefinedEntry
		        id="createMessageCreateCreationTool"
				path="/createEdges2Group">
		  </predefinedEntry>
		<predefinedEntry
		        id="createLink13CreationTool"
				path="/createEdges2Group">
		  </predefinedEntry>
		</contribution>
		<editor id="org.eclipse.papyrus.uml.diagram.communication"/>
	</paletteProvider>	
		
</extension>

<extension point="org.eclipse.ui.preferencePages" id="prefpages">
      <?gmfgen generated="true"?>
<page
      id="org.eclipse.papyrus.infra.gmfdiag.preferences.diagrams.PapyrusUMLCommunicationDiagram"
      name="PapyrusUMLCommunicationDiagram Diagram"
      category="org.eclipse.papyrus.infra.gmfdiag.preferences.diagrams"
      class="org.eclipse.papyrus.uml.diagram.communication.preferences.DiagramGeneralPreferencePage">
</page>
<page
      id="org.eclipse.papyrus.uml.diagram.communication.preferences.DiagramPrintingPreferencePage"
      name="%prefpage.org.eclipse.uml2.uml.diagram.printing"
      category="org.eclipse.papyrus.infra.gmfdiag.preferences.diagrams.PapyrusUMLCommunicationDiagram"
      class="org.eclipse.papyrus.uml.diagram.communication.preferences.DiagramPrintingPreferencePage">
</page>
   </extension>

<extension point="org.eclipse.core.runtime.preferences" id="prefs">
      <?gmfgen generated="true"?>
      <initializer class="org.eclipse.papyrus.uml.diagram.communication.preferences.DiagramPreferenceInitializer"/>
   </extension>

<extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders" id="view-provider">
      <?gmfgen generated="true"?>
      <viewProvider class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLViewProvider">
         <Priority name="Lowest"/>
         <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="PapyrusUMLCommunicationDiagram"/>
         <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="Interaction_Shape,Diagram_ShortcutShape,Lifeline_Shape,Constraint_Shape,Comment_Shape,TimeObservation_Shape,DurationObservation_Shape"/>
         <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="Path_Edge,Comment_AnnotatedElementEdge,Constraint_ConstrainedElementEdge,DurationObservation_EventEdge,TimeObservation_EventEdge"/>
      </viewProvider>
   </extension>

<extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders" id="ep-provider">
      <?gmfgen generated="true"?>
      <editpartProvider class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLEditPartProvider">
         <Priority name="Lowest"/>
         <object class="org.eclipse.gmf.runtime.notation.Diagram" id="generated-diagram">
            <method name="getType()" value="PapyrusUMLCommunicationDiagram"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-nodes">
            <method name="getType()" value="Interaction_Shape,Diagram_ShortcutShape,Lifeline_Shape,Constraint_Shape,Comment_Shape,TimeObservation_Shape,DurationObservation_Shape"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Edge" id="generated-links">
            <method name="getType()" value="Path_Edge,Comment_AnnotatedElementEdge,Constraint_ConstrainedElementEdge,DurationObservation_EventEdge,TimeObservation_EventEdge"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-labels">
            <method name="getType()" value="Interaction_NameLabel,Interaction_FloatingNameLabel,Diagram_NameLabel,Lifeline_NameLabel,Lifeline_FloatingNameLabel,Constraint_NameLabel,Constraint_BodyLabel,Comment_BodyLabel,TimeObservation_NameLabel,TimeObservation_StereotypeLabel,DurationObservation_NameLabel,DurationObservation_StereotypeLabel"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-compartments">
            <method name="getType()" value="Interaction_SubfragmentCompartment"/>
         </object>
         <context views="generated-diagram,generated-nodes,generated-links,generated-labels,generated-compartments"/>
      </editpartProvider>
   </extension>


<extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders" id="icon-provider">
      <?gmfgen generated="true"?>
      <IconProvider class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLIconProvider">
         <Priority name="Lowest"/>
      </IconProvider>
   </extension>

<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders" id="parser-provider">
      <?gmfgen generated="true"?>
      <ParserProvider class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLParserProvider">
         <Priority name="Lowest"/>
      </ParserProvider>
   </extension>

	<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings" id="element-types-bindings">
      <?gmfgen generated="true"?>
      <clientContext id="org.eclipse.papyrus.uml.diagram.communication.TypeContext">
         <enablement>
            <test
               property="org.eclipse.gmf.runtime.emf.core.editingDomain"
               value="org.eclipse.papyrus.uml.diagram.communication.EditingDomain"/>
         </enablement>
      </clientContext> 
   </extension>


<extension point="org.eclipse.core.expressions.propertyTesters" id="navigator-proptest.isURIEditorInput">
      <?gmfgen generated="true"?>
      <propertyTester
            id="org.eclipse.papyrus.uml.diagram.communication.URIEditorInputPropertyTester"
            type="org.eclipse.emf.common.ui.URIEditorInput"
            namespace="org.eclipse.papyrus.uml.diagram.communication"
            properties="isURIEditorInput"
            class="org.eclipse.papyrus.uml.diagram.communication.part.UMLUriEditorInputTester">
      </propertyTester>
   </extension>

<extension point="org.eclipse.ui.navigator.viewer" id="navigator-viewbinding">
      <?gmfgen generated="true"?>
      <viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
         <includes>
            <contentExtension pattern="org.eclipse.papyrus.uml.diagram.communication.resourceContent"/>
            <contentExtension pattern="org.eclipse.papyrus.uml.diagram.communication.domainResourceContent"/>
            <contentExtension pattern="org.eclipse.papyrus.uml.diagram.communication.navigatorLinkHelper"/>
         </includes>
      </viewerContentBinding>
      <viewerActionBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
         <includes>
            <actionExtension pattern="org.eclipse.papyrus.uml.diagram.communication.navigatorActionProvider"/>
         </includes>
      </viewerActionBinding>
   </extension>

<extension point="org.eclipse.ui.navigator.navigatorContent" id="navigator-content">
      <?gmfgen generated="true"?>
      <navigatorContent
            id="org.eclipse.papyrus.uml.diagram.communication.resourceContent" 
            name="%navigatorContentName" 
            priority="normal" 
            contentProvider="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLNavigatorContentProvider" 
            labelProvider="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLNavigatorLabelProvider"
            icon="icons/obj16/UMLDiagramFile.gif"
            activeByDefault="true">
         <triggerPoints>
            <or>
               <and>
                  <instanceof value="org.eclipse.core.resources.IFile"/>
                  <test property="org.eclipse.core.resources.extension" value="PapyrusUMLCommunication_diagram"/>
               </and>
               <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLAbstractNavigatorItem"/>
            </or>
         </triggerPoints>
         <possibleChildren>
            <or>
               <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLAbstractNavigatorItem"/>
            </or>
         </possibleChildren>
         <commonSorter 
               id="org.eclipse.papyrus.uml.diagram.communication.navigatorSorter" 
               class="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLNavigatorSorter">
            <parentExpression>
               <or>
                  <and>
                     <instanceof value="org.eclipse.core.resources.IFile"/>
                     <test property="org.eclipse.core.resources.extension" value="PapyrusUMLCommunication_diagram"/>
                  </and>
                  <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLAbstractNavigatorItem"/>
               </or>
            </parentExpression>
         </commonSorter>
      </navigatorContent>
      <navigatorContent
            id="org.eclipse.papyrus.uml.diagram.communication.domainResourceContent" 
            name="%domainNavigatorContentName" 
            priority="normal" 
            contentProvider="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLDomainNavigatorContentProvider" 
            labelProvider="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLDomainNavigatorLabelProvider"
            icon="icons/obj16/UMLDiagramFile.gif"
            activeByDefault="true">
         <triggerPoints>
            <or>
               <and>
                  <instanceof value="org.eclipse.core.resources.IFile"/>
                  <test property="org.eclipse.core.resources.extension" value="PapyrusUMLCommunication"/>
               </and>
               <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLDomainNavigatorItem"/>
            </or>
         </triggerPoints>
         <possibleChildren>
            <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLDomainNavigatorItem"/>
         </possibleChildren>
      </navigatorContent>
      <actionProvider
            id="org.eclipse.papyrus.uml.diagram.communication.navigatorActionProvider"
            class="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLNavigatorActionProvider">
         <enablement>
            <or>
               <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLAbstractNavigatorItem"/>
            </or>
         </enablement>
      </actionProvider>
   </extension>

<extension point="org.eclipse.ui.navigator.linkHelper" id="navigator-linkhelper">
      <?gmfgen generated="true"?>
      <linkHelper
            id="org.eclipse.papyrus.uml.diagram.communication.navigatorLinkHelper"
            class="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLNavigatorLinkHelper">
         <editorInputEnablement>
            <and>
               <instanceof value="org.eclipse.emf.common.ui.URIEditorInput"/>
               <test property="org.eclipse.papyrus.uml.diagram.communication.isURIEditorInput"/>
            </and>
         </editorInputEnablement>
         <selectionEnablement>
            <instanceof value="org.eclipse.papyrus.uml.diagram.communication.navigator.UMLAbstractNavigatorItem"/>
         </selectionEnablement>
      </linkHelper>
   </extension>



<extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders">
      <editpartProvider class="org.eclipse.papyrus.uml.diagram.communication.custom.providers.CustomUMLEditPartProvider">
         <Priority name="Highest"/>
         <object class="org.eclipse.gmf.runtime.notation.Diagram" id="generated-diagram">
            <method name="getType()" value="PapyrusUMLCommunicationDiagram"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-nodes">
            <method name="getType()" value="Interaction_Shape,Diagram_ShortcutShape,Lifeline_Shape,Constraint_Shape,Comment_Shape,TimeObservation_Shape,DurationObservation_Shape"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Edge" id="generated-links">
            <method name="getType()" value="Path_Edge,Comment_AnnotatedElementEdge,Constraint_ConstrainedElementEdge,DurationObservation_EventEdge,TimeObservation_EventEdge"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-labels">
            <method name="getType()" value="Interaction_NameLabel,Interaction_FloatingNameLabel,Diagram_NameLabel,Lifeline_NameLabel,Lifeline_FloatingNameLabel,Constraint_NameLabel,Constraint_BodyLabel,Comment_BodyLabel,TimeObservation_NameLabel,TimeObservation_StereotypeLabel,DurationObservation_NameLabel,DurationObservation_StereotypeLabel"/>
         </object>
         <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-compartments">
            <method name="getType()" value="Interaction_SubfragmentCompartment"/>
         </object>
         <context views="generated-diagram,generated-nodes,generated-links,generated-labels,generated-compartments"/>
      </editpartProvider>
   </extension>
<extension point="org.eclipse.ui.contexts" id="ui-context">
				      <?gmfgen generated="true"?>
				      <context
				         description="%context.description"
				         id="org.eclipse.papyrus.uml.diagram.communication.ui.diagramContext"
				         name="%context.name"
				         parentId="org.eclipse.gmf.runtime.diagram.ui.diagramContext">
				      </context>
				   </extension>
<extension
      point="org.eclipse.ui.popupMenus">
   <objectContribution
         adaptable="false"
         id="org.eclipse.papyrus.uml.diagram.communication.objectContribution.messageLabelReorient"
         objectClass="org.eclipse.papyrus.uml.diagram.communication.edit.parts.MessageNameEditPart">
      <action
            class="org.eclipse.papyrus.uml.diagram.communication.custom.commands.MessageLabelInverseOrientation"
            definitionId="org.eclipse.papyrus.uml.diagram.communication.messagelabelreorientID"
            enablesFor="1"
            icon="icons/arrow-rotate.gif"
            id="org.eclipse.papyrus.uml.diagram.communication.MessagelabelreorientID"
            label="Reverse message orientation"
            menubarPath="editGroup">
      </action>
   </objectContribution>
</extension>
<extension point="org.eclipse.ui.menus" id="context-menus">
      <?gmfgen generated="true"?>
      <!-- menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=">
      </menuContribution>
      <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=">
      </menuContribution -->
   </extension>

<extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders">
      <viewProvider class="org.eclipse.papyrus.uml.diagram.communication.custom.providers.CustomUMLViewProvider">
         <Priority name="High"/>
         <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="PapyrusUMLCommunicationDiagram"/>
         <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="Interaction_Shape,Diagram_ShortcutShape,Lifeline_Shape,Constraint_Shape,Comment_Shape,TimeObservation_Shape,DurationObservation_Shape"/>
         <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="Path_Edge,Comment_AnnotatedElementEdge,Constraint_ConstrainedElementEdge,DurationObservation_EventEdge,TimeObservation_EventEdge"/>
      </viewProvider>
   </extension>
<extension id="validationDecoratorProvider" name="ValidationDecorations" point="org.eclipse.gmf.runtime.diagram.ui.decoratorProviders">
				      <?gmfgen generated="true"?>
				      <decoratorProvider class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLValidationDecoratorProvider">
				         <Priority name="Lowest"/>
				         <object class="org.eclipse.gmf.runtime.diagram.ui.editparts.IPrimaryEditPart(org.eclipse.gmf.runtime.diagram.ui)" id="PRIMARY_VIEW"/>
				         <context decoratorTargets="PRIMARY_VIEW"/>
				      </decoratorProvider>
				   </extension>
<extension point="org.eclipse.papyrus.infra.gmfdiag.common.notationTypesMapping"> 
   <?gmfgen generated="true"?>
   <diagramMappings diagramID="PapyrusUMLCommunicationDiagram">
   	<mapping type="PapyrusUMLCommunicationDiagram" humanReadableType="CommunicationDiagram"/>
			<mapping
				humanReadableType="Interaction"
				type="Interaction_SubfragmentCompartment">
			</mapping>
			<mapping
				humanReadableType="Floating Label"
				type="Lifeline_FloatingNameLabel">
			</mapping>
			<mapping
				humanReadableType="Floating Label"
				type="TimeObservation_NameLabel">
			</mapping>
			<mapping
				humanReadableType="Floating Label"
				type="DurationObservation_NameLabel">
			</mapping>
			<mapping
				humanReadableType="Floating Label"
				type="Interaction_FloatingNameLabel">
			</mapping>
   </diagramMappings>
</extension>


    <extension
            point="org.eclipse.papyrus.infra.gmfdiag.canonical.strategies">
        <semanticChildrenStrategy
                editPart="org.eclipse.papyrus.uml.diagram.communication.edit.parts.LifelineEditPartCN"
                class="org.eclipse.papyrus.uml.diagram.communication.custom.canonical.LifelineSemanticChildrenStrategy">
        </semanticChildrenStrategy>
        <visualChildrenStrategy
                editPart="org.eclipse.papyrus.uml.diagram.communication.edit.parts.LifelineEditPartCN"
                class="org.eclipse.papyrus.uml.diagram.communication.custom.canonical.LifelineVisualChildrenStrategy">
        </visualChildrenStrategy>
    </extension>
    
     
   <extension
      point="org.eclipse.papyrus.infra.gmfdiag.common.diagramReconciler">
       <diagramReconciler
         diagramType="PapyrusUMLCommunicationDiagram"
         reconcilerClass="org.eclipse.papyrus.uml.diagram.communication.custom.migration.CommunicationReconciler"
         source="undefined"
         target="1.1.0">
   </diagramReconciler>
   <diagramReconciler
         diagramType="PapyrusUMLCommunicationDiagram"
         reconcilerClass="org.eclipse.papyrus.uml.diagram.communication.custom.migration.CommunicationReconcilerForCompartment"
         source="undefined"
         target="1.2.0">
   </diagramReconciler>
   <diagramReconciler
         diagramType="PapyrusUMLCommunicationDiagram"
         reconcilerClass="org.eclipse.papyrus.uml.diagram.communication.custom.migration.CommunicationReconciler_1_2_0"
         source="1.1.0"
         target="1.2.0">
   </diagramReconciler>
</extension>
   <extension point="org.eclipse.papyrus.infra.gmfdiag.common.visualTypeProviders">
      <?gmfgen generated="true"?>
      <visualTypeProvider
            class="org.eclipse.papyrus.uml.diagram.communication.providers.UMLVisualTypeProvider"
            diagramType="PapyrusUMLCommunicationDiagram">
         </visualTypeProvider>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
      <elementTypeSet
            clientContextID="org.eclipse.papyrus.uml.diagram.communication.TypeContext"
            path="model/communicationdiagram.elementtypesconfigurations">
      </elementTypeSet>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
      <elementTypeSet
            clientContextID="org.eclipse.papyrus.uml.diagram.communication.TypeContext"
            path="model/communicationdiagram-notation.elementtypesconfigurations">
      </elementTypeSet>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration">
      <elementTypeSet
            clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext"
            path="model/communicationdiagram-uml.elementtypesconfigurations">
      </elementTypeSet>
   </extension>



</plugin>

Back to the top