X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2FDefaultPropertyManipulatorFactory.java;h=5d7e121d134a9ce2983733b1e9c70ba18e63deec;hb=refs%2Fchanges%2F29%2F3629%2F1;hp=1ad899458fcd8edc4cd373e86c8decae1fea37a9;hpb=01441002a94a1f4ad2b078d63cb719ce617bd6cf;p=simantics%2F3d.git diff --git a/org.simantics.g3d/src/org/simantics/g3d/property/DefaultPropertyManipulatorFactory.java b/org.simantics.g3d/src/org/simantics/g3d/property/DefaultPropertyManipulatorFactory.java index 1ad89945..5d7e121d 100644 --- a/org.simantics.g3d/src/org/simantics/g3d/property/DefaultPropertyManipulatorFactory.java +++ b/org.simantics.g3d/src/org/simantics/g3d/property/DefaultPropertyManipulatorFactory.java @@ -45,6 +45,8 @@ public class DefaultPropertyManipulatorFactory implements PropertyManipulatorFac return BooleanPropertyManipulator.class; if (double[].class.equals(returnValue)) return DoubleArrayPropertyManipulator.class; + if (returnValue.isEnum()) + return ComboPropertyManipulator.class; throw new RuntimeException("Cannot handle value " + returnValue.getName() + " for method " + get); }