diff options
| author | Maxime Porhel | 2016-04-14 14:47:42 +0000 |
|---|---|---|
| committer | Maxime Porhel | 2016-04-18 08:50:24 +0000 |
| commit | 4fd2ef08fd2b9db75a80ba932cd8ced0f1b1c397 (patch) | |
| tree | 08c0cf1de50785d427d8aff2ae1d274d092bb374 | |
| parent | 58aaa6979c470740ef8f0bbd4e483afab6d7735c (diff) | |
| download | org.eclipse.sirius-4fd2ef08fd2b9db75a80ba932cd8ced0f1b1c397.tar.gz org.eclipse.sirius-4fd2ef08fd2b9db75a80ba932cd8ced0f1b1c397.tar.xz org.eclipse.sirius-4fd2ef08fd2b9db75a80ba932cd8ced0f1b1c397.zip | |
[491604] Api changes
Bug: 491604
Change-Id: I3988c9c321b4489590863c6ae25daac100027dd5
Signed-off-by: Maxime Porhel <maxime.porhel@obeo.fr>
| -rw-r--r-- | plugins/org.eclipse.sirius.doc/doc/Release_Notes.html | 33 | ||||
| -rw-r--r-- | plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile | 9 |
2 files changed, 40 insertions, 2 deletions
diff --git a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html index 842e49416c..885085b9ff 100644 --- a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html +++ b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html @@ -181,9 +181,35 @@ <code>DRepresentation</code> cannot be refreshed, by calling <code>DialectManager.canRefresh(DRepresentation)</code>. </li> + <li><span class="label label-info">Modified</span> Several methods of + <code>org.eclipse.sirius.business.api.session.danalysis.DAnalysisSessionHelper</code> now return a + <code>fr.obeo.dsl.viewpoint.DView</code> instead of a + <code>fr.obeo.dsl.viewpoint.DRepresentationContainer</code>: + <ul> + <li> + <code>findContainer(EObject, Viewpoint, Collection<DAnalysis>, DAnalysisSelector)</code>, + </li> + <li> + <code>findContainerForAddedRepresentation(EObject, Viewpoint, Collection<DAnalysis>, DAnalysisSelector, DRepresentation)</code>, + </li> + <li> + <code>findContainerForAddedRepresentation(DAnalysis, DRepresentation)</code>, + <code>findFreeContainer(Viewpoint, Collection<DAnalysis>, DAnalysisSelector)</code> + </li> + <li> + <code>findFreeContainer(Viewpoint, Collection<DAnalysis>, DAnalysisSelector)</code>. + </li> + </ul> + </li> + <li><span class="label label-danger">Removed</span> The + <code>org.eclipse.sirius.viewpoint.DRepresentationContainer</code> EClass have been removed. It used to be the only implementation of + <code>org.eclipse.sirius.viewpoint.DView</code>, the + <code>models</code> derived transient reference has been moved to + <code>DView</code>. An automatic migration has been added during the loading of the representation to handle this change. + </li> <li><span class="label label-danger">Removed</span> The class <code>org.eclipse.sirius.business.api.extender.MetamodelDescriptorProvider2</code> has been deleted and is now - <code>MetamodelDescriptorProvider</code>. + <code>MetamodelDescriptorProvider</code>. </li> </ul> <h4 id="Changesinorg.eclipse.sirius.common">Changes in @@ -230,6 +256,11 @@ <code>org.eclipse.sirius.diagram.FilterVariableHistory.ownedValues</code> has been changed to <code>org.eclipse.sirius.diagram.VariableValue</code>. </li> + <li><span class="label label-info">Modified</span> The return type of + <code>org.eclipse.sirius.diagram.business.api.helper.SiriusDiagramUtil.findRepresentationContainer(DDiagram)</code> has been changed from + <code>org.eclipse.sirius.viewpoint.DRepresentationContainer</code> to + <code>org.eclipse.sirius.viewpoint.DView</code>. + </li> <li><span class="label label-danger">Removed</span> <code>org.eclipse.sirius.diagram.description.filter.FilterVariable</code> has been removed. It is replaced by <code>org.eclipse.sirius.viewpoint.description.tool.SelectModelElementVariable</code>. diff --git a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile index 905d6ea1f4..d0a02c5fcf 100644 --- a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile +++ b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile @@ -44,7 +44,13 @@ h4. Changes in @org.eclipse.sirius@ * <span class="label label-info">Modified</span> @org.eclipse.sirius.viewpoint.description.tool.SubVariable@ has been moved to @org.eclipse.sirius.viewpoint.description.SubVariable@. * <span class="label label-info">Modified</span> @org.eclipse.sirius.business.api.modelingproject.ModelingProject.getMainRepresentationsFileURI()@ methods no more update workspace resource about markers, now this must be done in caller on IllegalArgumentException catch in a workspace aware operation. * <span class="label label-info">Modified</span> @org.eclipse.sirius.business.api.dialect.command.RefreshRepresentationsCommand.canExecute()@ now returns false if a @DRepresentation@ cannot be refreshed, by calling @DialectManager.canRefresh(DRepresentation)@. -* <span class="label label-danger">Removed</span> The class @org.eclipse.sirius.business.api.extender.MetamodelDescriptorProvider2@ has been deleted and is now @MetamodelDescriptorProvider@. +* <span class="label label-info">Modified</span> Several methods of @org.eclipse.sirius.business.api.session.danalysis.DAnalysisSessionHelper@ now return a @fr.obeo.dsl.viewpoint.DView@ instead of a @fr.obeo.dsl.viewpoint.DRepresentationContainer@: +** @findContainer(EObject, Viewpoint, Collection<DAnalysis>, DAnalysisSelector)@, +** @findContainerForAddedRepresentation(EObject, Viewpoint, Collection<DAnalysis>, DAnalysisSelector, DRepresentation)@, +** @findContainerForAddedRepresentation(DAnalysis, DRepresentation)@, @findFreeContainer(Viewpoint, Collection<DAnalysis>, DAnalysisSelector)@ +** @findFreeContainer(Viewpoint, Collection<DAnalysis>, DAnalysisSelector)@. +* <span class="label label-danger">Removed</span> The @org.eclipse.sirius.viewpoint.DRepresentationContainer@ EClass have been removed. It used to be the only implementation of @org.eclipse.sirius.viewpoint.DView@, the @models@ derived transient reference has been moved to @DView@. An automatic migration has been added during the loading of the representation to handle this change. +* <span class="label label-danger">Removed</span> The class @org.eclipse.sirius.business.api.extender.MetamodelDescriptorProvider2@ has been deleted and is now @MetamodelDescriptorProvider@. h4. Changes in @org.eclipse.sirius.common@ @@ -60,6 +66,7 @@ h4. Changes in @org.eclipse.sirius.diagram@ * <span class="label label-success">Added</span> @org.eclipse.sirius.diagram.business.api.query.DNodeQuery.getForbiddenSide()@ has been added to retrieve the forbidden sides of a DNode (make sense only for Border Nodes). * <span class="label label-info">Modified</span> The type of @org.eclipse.sirius.diagram.description.filter.VariableFilter.ownedVariable@ has been changed to @org.eclipse.sirius.viewpoint.description.InteractiveVariableDescription@. * <span class="label label-info">Modified</span> The type of @org.eclipse.sirius.diagram.FilterVariableHistory.ownedValues@ has been changed to @org.eclipse.sirius.diagram.VariableValue@. +* <span class="label label-info">Modified</span> The return type of @org.eclipse.sirius.diagram.business.api.helper.SiriusDiagramUtil.findRepresentationContainer(DDiagram)@ has been changed from @org.eclipse.sirius.viewpoint.DRepresentationContainer@ to @org.eclipse.sirius.viewpoint.DView@. * <span class="label label-danger">Removed</span> @org.eclipse.sirius.diagram.description.filter.FilterVariable@ has been removed. It is replaced by @org.eclipse.sirius.viewpoint.description.tool.SelectModelElementVariable@. * <span class="label label-danger">Removed</span> @org.eclipse.sirius.diagram.description.filter.impl.VariableFilterImpl.setFilterContext()@ has been removed. This method was, in part, useless and is replaced by @org.eclipse.sirius.diagram.description.filter.impl.VariableFilterImpl.resetVariables()@. |
