diff options
author | VL | 2013-11-08 08:19:31 +0000 |
---|---|---|
committer | VL | 2013-11-08 08:19:31 +0000 |
commit | 535ee72d3c7daa1a807df8293fd0a4dace4963fa (patch) | |
tree | fa195db9ab55c2c7b1ab84dbfe857a4f3f5ae561 /extraplugins | |
parent | c82143a4faaeff7f3f3b3789f56ff24bf1483641 (diff) | |
download | org.eclipse.papyrus-535ee72d3c7daa1a807df8293fd0a4dace4963fa.tar.gz org.eclipse.papyrus-535ee72d3c7daa1a807df8293fd0a4dace4963fa.tar.xz org.eclipse.papyrus-535ee72d3c7daa1a807df8293fd0a4dace4963fa.zip |
Fix an obvious bug on string resolution for ENumeration Literal
Diffstat (limited to 'extraplugins')
-rw-r--r-- | extraplugins/table/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/table/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java b/extraplugins/table/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java index cccfe163afe..090ef4431d7 100644 --- a/extraplugins/table/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java +++ b/extraplugins/table/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java @@ -237,7 +237,7 @@ public class StereotypePropertyCellManager extends UMLFeatureCellManager { solvedValue = valueSolver.deduceValueFromString(prop, newValue);
steApFeature = stereotypeApplication.eClass().getEStructuralFeature(prop.getName());
- if(prop.getType() instanceof EnumerationLiteral) {
+ if(prop.getType() instanceof Enumeration) {//Enumeration AND not EnumerationLiteral
EEnum eenum = (EEnum)steApFeature.getEType();
Object value = solvedValue.getConvertedValue();
if(value instanceof Collection<?>) {
|