Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ea369db7007b7831b9c4586ba14bc8b8bdc132c9 (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
<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Release Notes</title>
		<link type="text/css" rel="stylesheet" href="/help/topic/org.eclipse.sirius.doc/doc/resources/bootstrap.css"/>
		<link type="text/css" rel="stylesheet" href="/help/topic/org.eclipse.sirius.doc/doc/resources/custom.css"/>
	</head>
	<body>
		<h1 id="ReleaseNotesforSirius">Release Notes for Sirius</h1>
		<ol class="toc" style="list-style: disc;">
			<li>
				<a href="#ReleaseNotesforSirius">Release Notes for Sirius</a>
				<ol style="list-style: disc;">
					<li>
						<a href="#ChangesinSirius1.0.0M4fromSirius0.9">Changes in Sirius 1.0.0M4 (from Sirius 0.9)</a>
					</li>
					<li>
						<a href="#ChangesfromViewpoint6.9toSirius0.9">Changes from Viewpoint 6.9 to Sirius 0.9</a>
					</li>
				</ol>
			</li>
		</ol>
		<p>This document contains the release notes for all major releases of Sirius.</p>
		<h2 id="ChangesinSirius1.0.0M4fromSirius0.9">Changes in Sirius 1.0.0M4 (from Sirius 0.9)</h2>
		<h3 id="UserVisibleChanges">User-Visible Changes</h3>
		<ul>
			<li>The ability to print table representations, which had been disabled for the 0.9 release, has been re-enabled.</li>
		</ul>
		<h3 id="APIChanges">API Changes</h3>
		<p>Sirius 1.0.0M4 includes a lots of API-breaking changes, as part of a global effort to improve the quality of the Sirius internals. In this milestone in particular, most of the APIs which were marked as deprecated in previous versions of Sirius (and before that of Viewpoint) have been either removed (if a replacement exists) or marked as non-deprecated (if no replacement exists yet).</p>
		<h4 id="Changesinorg.eclipse.sirius.common">Changes in  
			<code>org.eclipse.sirius.common</code>
		</h4>
		<ul>
			<li>Two deprecated constructors have been removed in 
				<code>FeatureEditorDialog</code>. Use the remaining constructor instead, which provides proper behaviour for both unique and non-unique features.
			</li>
			<li>The deprecated method 
				<code>IEditingDomainFactory.createEditingDomain()</code> has been removed. Use the (inherited) 
				<code>createEditingDomain(ResourceSet)</code> instead, which ensures correct behavior for all kinds of models (Xtext for example).
			</li>
			<li>The deprecated field 
				<code>org.eclipse.sirius.common.tools.api.listener.Notification.FOLD</code> has been removed. It was never used by Sirius itself, so if your code tried to listen to this kind of notification it was never actually called and can be safely removed.
			</li>
			<li>The deprecated methods 
				<code>getExtensionPlugins()</code> and 
				<code>getElementsProvidedByPlugin</code> from 
				<code>EcliseUtil</code> have been removed. If you need this kind of functionality, use the Eclipse APIs directly instead.
			</li>
			<li>The deprecated fields 
				<code>COLUMN_SEMANTIC</code> and 
				<code>LINE_SEMANTIC</code> of 
				<code>IInterpreterSiriusVariables</code> have been removed. Use the constants of 
				<code>org.eclipse.sirius.table.tools.api.interpreter.IInterpreterSiriusTableVariables</code> instead. 
			</li>
		</ul>
		<h4 id="Changesinorg.eclipse.sirius">Changes in 
			<code>org.eclipse.sirius</code>
		</h4>
		<ul>
			<li>The deprecated method 
				<code>DialectServices.initRepresentations(Viewpoint, EObject)</code> has been removed. Use the version which takes an additional 
				<code>IProgressMonitor</code> instead. 
			</li>
			<li>The deprecated constructor in 
				<code>CreateRepresentationCommand</code> has been removed. Use the alternative constructor which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The two deprecated constructors in 
				<code>RefreshRepresentationCommand</code> have been removed. Use the alternative constructors which take an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>DisplayService.computeVisibility(Session, DDiagram, DDiagramElement)</code> has been removed. Use the variant 
				<code>computeVisibility()</code> which takes a 
				<code>DiagramMappingsManager</code> instead of a 
				<code>Session</code>.
			</li>
			<li>The following deprecated methods in 
				<code>FilterService</code> have been removed:
				<ul>
					<li>
						<code>activateCache()</code>: use 
						<code>DisplayService.activateCache()</code> instead.
					</li>
					<li>
						<code>deactivateCache()</code>: use 
						<code>DisplayService.deactivateCache()</code> instead.
					</li>
					<li>
						<code>activate()</code>: use 
						<code>DisplayService.activate()</code> instead.
					</li>
					<li>
						<code>deactivate()</code>: use 
						<code>DisplayService.deactivate()</code> instead.
					</li>
					<li>
						<code>isActivated()</code>: use 
						<code>DisplayServiceManager.INSTANCE.getMode() == DisplayMode.NORMAL</code> instead.
					</li>
					<li>
						<code>isCollapse()</code>: use 
						<code>isCollapsed()</code> instead.
					</li>
					<li>
						<code>isVisibleForFilters()</code>: use 
						<code>getAppliedFilters()</code> instead.
					</li>
					<li>
						<code>isVisible()</code>: use 
						<code>DisplayService.isDisplayed()</code> instead.
					</li>
					<li>
						<code>isFiltered()</code>, 
						<code>isNotFiltered()</code>, 
						<code>isVisibleForActivatedFilters(), @checkFilters()</code>: use 
						<code>getAppliedFilters()</code> and 
						<code>DDiagram.getActivatedFilters()</code> instead.
					</li>
				</ul>
			</li>
			<li>The deprecated methods 
				<code>isDirectlyHidden()</code> and 
				<code>isIndirectlyHidden()</code> in 
				<code>HideFilterHelper</code> have been removed. Use the corresponding methods in 
				<code>DDiagramElementQuery</code> instead.
			</li>
			<li>The deprecated method 
				<code>SavingPolicy.save(Iterable, Map)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated constructor 
				<code>AbstractCommandFactory(TransactionalEditingDomain, ModelAccessor)</code> has been removed. Use the variant without the 
				<code>ModelAccessor</code> argument instead.
			</li>
			<li>The deprecated constructor 
				<code>CommandContext(EObject)</code> has been removed. Use the variant which takes an additional 
				<code>DRepresentation</code> instead.
			</li>
			<li>The deprecated methods 
				<code>activate(TransactionalEditingDomain)</code> and 
				<code>deactivate(TransactionalEditingDomain)</code> in 
				<code>IChangeListener</code> have been removed. Use the variants with no argument instead.
			</li>
			<li>The deprecated constructor 
				<code>AddSemanticResourceCommand(Session, URI)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated constructors of 
				<code>RemoveSemanticResourceCommand</code> have been removed. Use the variants which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated constructor in 
				<code>CreateDiagramWithInitialOperation</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>SessionManager.addResource(Session, Resource)</code> has been removed. Use the 
				<code>Session.addSemanticResource(URI, IProgressMonitor)</code> instead. In code, 
				<code>mySessionManager.addResource(mySession, myResource)</code> should be replaced by 
				<code>mySession.addSemanticResource(myResource.getURI(), new NullProgressMonitor())</code>. Notice that this replacement has not the exact same behavior. The notifications 
				<code>SessionListener.ABOUT_TO_BE_REPLACED</code> and 
				<code>SessionListener.REPLACED</code> are not thrown with 
				<code>addSemanticResource</code> contrary to 
				<code>addResource</code>. But this kind of notifications is more for reloading of resource.
			</li>
			<li>The deprecated constructor of 
				<code>DefaultLocalSessionCreationOperation</code> have been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>SessionManager.getSession(URI)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>SessionFactory.createSession(URI)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>Deprecated class 
				<code>RefreshRepresentationCommand</code> has been removed. Use the class 
				<code>RefreshRepresentationsCommand</code> instead.
			</li>
			<li>Deprecated classes 
				<code>RevealSiriusElement</code> and  
				<code>RevealDDiagramElement</code> have been removed. Use the class 
				<code>RevealDDiagramElements</code> instead.
			</li>
			<li>The deprecated method 
				<code>DAnalysisSession.save(Map&lt;?, ?&gt;)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>MappingTableEntry.getImporter()</code> has been updated. It now returns an optional (
				<code>org.eclipse.sirius.common.tools.api.util.Option</code>) of 
				<code>MappingTableEntry</code>.
			</li>
			<li>The deprecated class 
				<code>IEMFCommandFactory</code> has been removed. It is not used in Sirius code anymore.
			</li>
			<li>The deprecated method 
				<code>IDiagramCommandFactory.buildCreateDiagramFromDescription(DiagramDescription, EObject)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated methods 
				<code>dispose()</code> and 
				<code>disposeInterpreterRegistry(EObject)</code> have been removed from 
				<code>InterpreterRegistry</code>. They corresponded to dead code.
			</li>
			<li>The deprecated method 
				<code>InterpreterRegistry.prepareImportsFromModelElement(IInterpreter, EObject)</code> has been removed. Use 
				<code>InterpreterRegistry.prepareImportsFromSession(IInterpreter, Session)</code> instead. To get 
				<code>Session</code> from 
				<code>EObject</code>, you can use 
				<code>SessionManager.INSTANCE.getSession(EObject)</code>.
			</li>
			<li>The deprecated method 
				<code>SiriusHelper.createDAnalysis()</code> has been removed. Use 
				<code>ViewpointFactory.eINSTANCE.createDAnalysis()</code> instead.
			</li>
			<li>The deprecated method 
				<code>SessionFactory.createSession(DAnalysis)</code> has been removed. It is not intended to be used, but it can be replaced by 
				<code>SessionFactory.INSTANCE.createSession(analysis.eResource().getURI(), new NullProgressMonitor())</code>.
			</li>
			<li>The method 
				<code>buildDoExecuteDetailsOperation(DSemanticDecorator, RepresentationCreationDescription, String) has been pull up from @ITableCommandFactory</code>, 
				<code>ITreeCommandFactory</code> and 
				<code>IDiagramCommandFactory</code> to 
				<code>ICommandFactory</code>.
			</li>
			<li>The method 
				<code>getUserInterfaceCallBack()</code> has been pull up from 
				<code>ITableCommandFactory</code> and 
				<code>ITreeCommandFactory</code> to 
				<code>ICommandFactory</code>. And 
				<code>AbstractCommandFactory</code> now implements this method.
			</li>
			<li>The unused reference 
				<code>allActivatedEdgeMappings</code> from 
				<code>Layer</code> and 
				<code>DiagramDescription</code> has been removed from the viewpoint.ecore meta-model. This reference always returns empty list.
			</li>
		</ul>
		<h4 id="Changesinorg.eclipse.sirius.diagram">Changes in  
			<code>org.eclipse.sirius.diagram</code>
		</h4>
		<ul>
			<li>The deprecated methods 
				<code>IDiagramEdgeEditPart.refreshPath()</code> and 
				<code>AbstractDiagramEdgeEditPart.refreshPath()</code> have been removed. It is not called in Sirius code anymore
			</li>
		</ul>
		<h4 id="Changesinorg.eclipse.sirius.ecore.extender">Changes in  
			<code>org.eclipse.sirius.ecore.extender</code>
		</h4>
		<ul>
			<li>The deprecated methods 
				<code>IMetamodelExtender.eDelete(EObject)</code>, 
				<code>CompositeMetamodelExtender.eDelete(EObject)</code> and 
				<code>ModelAccessor.eDelete(EObject)</code> have been removed. Use the variants which takes an additional 
				<code>ECrossReferenceAdapter</code> instead. This 
				<code>ECrossReferenceAdapter</code> can be null.
			</li>
		</ul>
		<h4 id="Changesinorg.eclipse.sirius.ui">Changes in  
			<code>org.eclipse.sirius.ui</code>
		</h4>
		<ul>
			<li>All deprecated methods in 
				<code>ModelingProjectManager</code> have been removed. Use the corresponding versions which take an additional 
				<code>IProgressMonitor</code> parameter instead.
			</li>
			<li>All deprecated methods in 
				<code>ViewpointSelection</code> have been removed. Use the corresponding versions which take an additional 
				<code>IProgressMonitor</code> parameter instead.
			</li>
			<li>Deprecated class 
				<code>org.eclipse.sirius.ui.business.api.control.SiriusControlCommand</code> has been removed. Use the class 
				<code>org.eclipse.sirius.business.api.control.SiriusControlCommand</code> instead (same constructor but with an additional 
				<code>IProgressMonitor</code> parameter).
				<ul>
					<li>Ditto for 
						<code>SiriusUnControlCommand</code>
					</li>
				</ul>
			</li>
			<li>The deprecated method 
				<code>DialectUIServices.openEditor(Session, DRepresentation)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>SessionHelper.openStartupRepresentations(Session)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>SiriusControlHandler.performControl(Shell, EObject)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>The deprecated method 
				<code>SiriusUncontrolHandler.performUncontrol(Shell, EObject)</code> has been removed. Use the variant which takes an additional 
				<code>IProgressMonitor</code> instead.
			</li>
			<li>New class 
				<code>AbstractCreateRepresentationFromRepresentationCreationDescription</code>: Generalization of all 
				<code>CreateRepresentationFromRepresentationCreationDescription</code> classes (iof plug-ins sirius.diagram, sirius.table.ui, sirius.tree.ui).
			</li>
		</ul>
		<h4 id="Changesinorg.eclipse.sirius.table">Changes in 
			<code>org.eclipse.sirius.table</code>
		</h4>
		<ul>
			<li>The deprecated method 
				<code>TableHelper.getCell(DLine, String)</code> has been removed. Use the variant which take a DLine and a DColumn as parameters.
			</li>
		</ul>
		<h4 id="Changesinorg.eclipse.sirius.tree">Changes in 
			<code>org.eclipse.sirius.tree</code>
		</h4>
		<ul>
			<li>The deprecated method 
				<code>DTreeUserInteraction.refreshContent()</code> has been removed. Use the variant which take an additional 
				<code>IProgressMonitor</code> parameter instead.
			</li>
		</ul>
		<h2 id="ChangesfromViewpoint6.9toSirius0.9">Changes from Viewpoint 6.9 to Sirius 0.9</h2>
		<h3 id="Pluginsversionnumbers.">Plug-ins version numbers.</h3>
		<p>As of Sirius 0.9, and probably at least until Sirius 1.0 when the APIs will be more stable, all the bundles share the same version, which is also the version for the feature. If you used versioned dependencies to the old Viewpoint code (e.g. dependencies towards Viewpoint 6.8), you need to adjust the versions in your 
			<code>MANIFEST.MF</code>  files in addition to the namespaces.
		</p>
		<h3 id="Majornamespacechanges">Major namespace changes</h3>
		<p>In the context of the move as an official Eclipse project named Sirius, all the namespaces used in the code have changed.</p>
		<h4 id="Pluginandfeaturesidentifiers">Plug-in and features identifiers</h4>
		<p>All identifiers have changed to start with the 
			<code>org.eclipse.sirius</code> namespace prefix. The tables below give the mapping between the Viewpoint plug-in and features identifiers and their Sirius equivalent.
		</p>
		<table>
			<tr>
				<th>Viewpoint 6.x plug-in                     </th>
				<th>Sirius 0.9 plug-in                      </th>
			</tr>
			<tr>
				<td>fr.obeo.dsl.common                          </td>
				<td>org.eclipse.sirius.common                 </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.common.acceleo.mtl              </td>
				<td>org.eclipse.sirius.common.acceleo.mtl     </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.common.acceleo.mtl.ide          </td>
				<td>org.eclipse.sirius.common.acceleo.mtl.ide </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.common.ocl                      </td>
				<td>org.eclipse.sirius.common.ocl             </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.common.ui                       </td>
				<td>org.eclipse.sirius.common.ui              </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.common.xtext                    </td>
				<td>org.eclipse.sirius.common.xtext           </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint                       </td>
				<td>org.eclipse.sirius                        </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.diagram               </td>
				<td>org.eclipse.sirius.diagram                </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.diagram.layoutdata    </td>
				<td>org.eclipse.sirius.layoutdata             </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.diagram.sequence      </td>
				<td>org.eclipse.sirius.sequence               </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.diagram.sequence.edit </td>
				<td>org.eclipse.sirius.sequence.edit          </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.diagram.sequence.ui   </td>
				<td>org.eclipse.sirius.sequence.edit.ui       </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.doc                   </td>
				<td>org.eclipse.sirius.doc                    </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.editor                </td>
				<td>org.eclipse.sirius.editor                 </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.editor.sequence       </td>
				<td>org.eclipse.sirius.editor.sequence        </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.editor.table          </td>
				<td>org.eclipse.sirius.editor.table           </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.editor.tree           </td>
				<td>org.eclipse.sirius.editor.tree            </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.eef.adapters          </td>
				<td>org.eclipse.sirius.eef.adapters           </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.interpreter           </td>
				<td>org.eclipse.sirius.interpreter            </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.table                 </td>
				<td>org.eclipse.sirius.table                  </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.table.ui              </td>
				<td>org.eclipse.sirius.table.ui               </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.tree                  </td>
				<td>org.eclipse.sirius.tree                   </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.tree.ui               </td>
				<td>org.eclipse.sirius.tree.ui                </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.ui                    </td>
				<td>org.eclipse.sirius.ui                     </td>
			</tr>
			<tr>
				<td>fr.obeo.mda.ecore.extender                  </td>
				<td>org.eclipse.sirius.ecore.extender         </td>
			</tr>
			<tr>
				<td>fr.obeo.mda.pim.ecore.design                </td>
				<td>org.eclipse.sirius.pim.ecore.design       </td>
			</tr>
			<tr>
				<td>org.eclipselab.emf.synchronizer             </td>
				<td>org.eclipse.sirius.synchronizer           </td>
			</tr>
		</table>
		<table>
			<tr>
				<th>Viewpoint 6.x feature                        </th>
				<th>Sirius 0.9 feature                        </th>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime                  </td>
				<td>org.eclipse.sirius.runtime                  </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime.acceleo          </td>
				<td>org.eclipse.sirius.runtime.acceleo          </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime.ide.eef          </td>
				<td>org.eclipse.sirius.runtime.ide.eef          </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime.ide.ui           </td>
				<td>org.eclipse.sirius.runtime.ide.ui           </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime.ide.ui.acceleo   </td>
				<td>org.eclipse.sirius.runtime.ide.ui.acceleo   </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime.ide.xtext        </td>
				<td>org.eclipse.sirius.runtime.ide.xtext        </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.runtime.ocl              </td>
				<td>org.eclipse.sirius.runtime.ocl              </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.specifier.ide.ui         </td>
				<td>org.eclipse.sirius.specifier.ide.ui         </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.specifier.ide.ui.acceleo </td>
				<td>org.eclipse.sirius.specifier.ide.ui.acceleo </td>
			</tr>
			<tr>
				<td>fr.obeo.dsl.viewpoint.doc.feature              </td>
				<td>org.eclipse.sirius.doc.feature              </td>
			</tr>
		</table>
		<h4 id="JavaPackagesNames">Java Packages Names</h4>
		<h4 id="ModelsnamespaceURIs">Models namespace URIs</h4>
		<p>All namespace URIs have also been changed from &#171;http://www.obeo.fr/dsl/viewpoint*&#187; to &#171;http://www.eclipse.org/sirius/&#187;.</p>
		<p>If you have created VSM file (.odesign) or representations file (.aird) with Viewpoint, the changes of the namespace URIs will be automatically migrated during the loading of your VSM or your representations file. These new nsURIs will be stored physically in the file during the first save. If the file is not saved, the automatic migration will be replayed at the next opening.</p>
		<h3 id="NatureID">Nature ID </h3>
		<p>The modeling project has a specific nature (
			<code>org.eclipse.sirius.nature.modelingproject</code>). 
			<br/>If you have modeling project created with Viewpoint, you must launch the action &#171;Configure/Convert to Modeling Project&#187; to replace old nature id (
			<code>fr.obeo.dsl.viewpoint.nature.modelingproject</code>) by the new one.
			<br/>If you have many modeling projects to &#171;migrate&#187;, you can easily make a script to replace 
			<code>fr.obeo.dsl.viewpoint.nature.modelingproject</code> by 
			<code>org.eclipse.sirius.nature.modelingproject</code> in all 
			<code>.project</code> file of each modeling projects.
		</p>
		<h3 id="OtherAPIChanges">Other API Changes</h3>
		<h4 id="APIAdded">API Added</h4>
		<ul>
			<li>Add 
				<code>IMigrationParticipant.getPackage()</code> to return the EPackage to use for the given namespace. This change concerns our internal migration framework. This is useful to handle our namespace changes (from Viewpoint to Sirius).
			</li>
		</ul>
		<h4 id="APIRemoval">API Removal</h4>
		<ul>
			<li>Removed 
				<code>org.eclipse.sirius.common.tools.api.interpreter.IAcceleoInterpreterVariables</code>: This interface only defined a single constant, which refered to the syntax of an obsolete version of the Acceleo language.
			</li>
			<li>Removed 
				<code>org.eclipse.sirius.common.tools.api.resource.IFileContributorExtension</code>: This interface only defined a few constants relative to an extension point which does not exist anymore.
			</li>
			<li>Removed the 
				<code>org.eclipse.sirius.reconciler</code> extension point definition (which used to be defined in the 
				<code>org.eclipse.sirius</code> plug-in): This extension point is not supported anymore (and has not been for a long time).
			</li>
			<li>Removed all the deprecated methods from 
				<code>Session</code> and replaced the internal calls with the equivalent versions with 
				<code>IProgressMonitors</code>. The removed methods are:
			</li>
		</ul>
		<pre>void open();
void addSemanticResource(Resource newResource, boolean addCrossReferencedResources);
void addSemanticResource(URI semanticModelURI, boolean addCrossReferencedResources);
void addSemanticResource(URI semanticModelURI, boolean addCrossReferencedResources, IProgressMonitor monitor);
void removeSemanticResource(Resource resource, boolean removeCrossReferencedResources);
void removeSemanticResource(Resource semanticResource);
void save();
void close();
Collection&lt;Viewpoint&gt; getSelectedViewpoints();
void createView(Viewpoint viewpoint, Collection&lt;EObject&gt; semantics);
void createView(Viewpoint viewpoint, Collection&lt;EObject&gt; semantics, boolean createNewRepresentations);
void addSelectedView(DView view) throws IllegalArgumentException;
void removeSelectedView(DView view);

</pre>
		<h3 id="SpecifierVisibleChanges">Specifier-Visible Changes</h3>
		<p>New variables are available for 
			<code>sizeComputationExpression</code> to compute the size of edges on 
			<code>EdgeStyleDescription</code> and 
			<code>BracketEdgeStyleDescription</code>:
		</p>
		<ul>
			<li>
				<em>diagram</em>: the current 
				<code>DDiagram</code>
			</li>
			<li>
				<em>view</em>: the current 
				<code>DEdge</code>
			</li>
			<li>
				<em>sourceView</em>: the source view of the current edge.
			</li>
			<li>
				<em>targetView</em>: the target view of the current edge.
			</li>
		</ul>
		<h3 id="UserVisibleChanges2">User-Visible Changes</h3>
		<ul>
			<li>The ability to print table representations has been disabled for the 0.9 release due to an external dependency issue (see 
				<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=422223">bug #422223</a> for the details). It should be re-introduced in 1.0.
			</li>
		</ul>
	</body>
</html>

Back to the top