Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2017-11-24 07:57:58 -0500
committerRemi Schnekenburger2017-12-11 07:31:03 -0500
commited4418164136d19befa39b44863812dd14b8dcf5 (patch)
tree6b795492510eef6145ab33f06821e88e7a3762f8 /plugins/facet
parentfd96c4b1c10f408812071b651aec0105fb30be42 (diff)
downloadorg.eclipse.papyrus-ed4418164136d19befa39b44863812dd14b8dcf5.tar.gz
org.eclipse.papyrus-ed4418164136d19befa39b44863812dd14b8dcf5.tar.xz
org.eclipse.papyrus-ed4418164136d19befa39b44863812dd14b8dcf5.zip
Bug 526898: [Facet] LowerBound is modified when trying to set the
UpperBound from the Custom Model Editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=526898 Change-Id: I5810d119982bc454ed98aee94302522105b727ab Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com> (cherry picked from commit efda149b63c6c2f9c8c70cd4e52d85c944814c16)
Diffstat (limited to 'plugins/facet')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/internal/FacetCommandFactoryImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/internal/FacetCommandFactoryImpl.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/internal/FacetCommandFactoryImpl.java
index 600ee43372f..74fe9c6e42b 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/internal/FacetCommandFactoryImpl.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/internal/FacetCommandFactoryImpl.java
@@ -392,7 +392,7 @@ public class FacetCommandFactoryImpl implements IFacetCommandFactory {
if (typedElement.getUpperBound() != upperBound) {
final Command command = new SetCommand(this.editingDomain,
typedElement,
- EcorePackage.eINSTANCE.getETypedElement_LowerBound(),
+ EcorePackage.eINSTANCE.getETypedElement_UpperBound(),
Integer.valueOf(upperBound));
commands.add(command);
}
@@ -406,7 +406,7 @@ public class FacetCommandFactoryImpl implements IFacetCommandFactory {
if (typedElement.isUnique() != unique) {
final Command command = new SetCommand(this.editingDomain,
typedElement,
- EcorePackage.eINSTANCE.getETypedElement_Ordered(),
+ EcorePackage.eINSTANCE.getETypedElement_Unique(),
Boolean.valueOf(unique));
commands.add(command);
}

Back to the top