From bd9f944cd0ba49a8d0b7d003a092c91a375106d2 Mon Sep 17 00:00:00 2001 From: Laurent Fasani Date: Mon, 18 Jul 2022 18:36:37 +0200 Subject: [PATCH] [1300] Rename SiriusWebJSONResourceFactoryImpl to JSONResourceFactory Bug: https://github.com/eclipse-sirius/sirius-components/issues/1300 Signed-off-by: Laurent Fasani --- CHANGELOG.adoc | 13 ++++++++++--- ...rceFactoryImpl.java => JSONResourceFactory.java} | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) rename packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/{SiriusWebJSONResourceFactoryImpl.java => JSONResourceFactory.java} (87%) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 23596c694b..1aff1d3162 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -6,22 +6,29 @@ - [ADR-069] Add support for children layout strategy - [ADR-070] How to contribute a new diagram node style -- [ADR-071] - Add parametric SVG node style +- [ADR-071] Add parametric SVG node style - [ADR-072] Add support for the edition of routing points - https://github.com/eclipse-sirius/sirius-components/issues/1368[#1368] [diagram] Do not render rectangle view children twice + +=== Breaking changes + +- https://github.com/eclipse-sirius/sirius-components/issues/1300[#1300] [core] Rename SiriusWebJSONResourceFactoryImpl to JSONResourceFactoryImpl + +=== Dependency update + +=== Bug fixes === Improvements - https://github.com/eclipse-sirius/sirius-components/issues/1339[#1339] [layout] Add concept of layout strategy. The purpose of layout strategy is to split the style of a node from the way a node lays out its children. -- https://github.com/eclipse-sirius/sirius-components/issues/1385[#1385] [releng] Migrate Sirius Web to Sirius Component. The purpose of this migration is to facilate the maintenance of these two projects (one pull request instead of two different). +- https://github.com/eclipse-sirius/sirius-components/issues/1385[#1385] [releng] Migrate Sirius Web to Sirius Component. The purpose of this migration is to facilitate the maintenance of these two projects (one pull request instead of two different). - https://github.com/eclipse-sirius/sirius-components/issues/997[#997] [diagram] Edge routing points are not reset when one of the edge end is moving === New Features - https://github.com/eclipse-sirius/sirius-components/issues/1316[#1316] [diagram] Support parametric svg node style - - https://github.com/eclipse-sirius/sirius-components/issues/997[#997] [diagram] Add support for edition of routing points in diagrams == v2022.9.0 diff --git a/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/SiriusWebJSONResourceFactoryImpl.java b/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/JSONResourceFactory.java similarity index 87% rename from packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/SiriusWebJSONResourceFactoryImpl.java rename to packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/JSONResourceFactory.java index f6cb633700..25383cc29d 100644 --- a/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/SiriusWebJSONResourceFactoryImpl.java +++ b/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/JSONResourceFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2019, 2020 Obeo. + * Copyright (c) 2019, 2022 Obeo. * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at @@ -21,12 +21,12 @@ import org.eclipse.sirius.emfjson.resource.JsonResourceImpl; /** - * Special factory for {@link JsonResource} for Sirius Web.
+ * Special factory for {@link JsonResource}.
* This factory ensures that objects in that resource are identified by their uuid. * * @author lfasani */ -public class SiriusWebJSONResourceFactoryImpl extends ResourceFactoryImpl { +public class JSONResourceFactory extends ResourceFactoryImpl { @Override public JsonResource createResource(URI uri) {