X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2FDefaultPropertyManipulatorFactory.java;h=5d7e121d134a9ce2983733b1e9c70ba18e63deec;hb=2041d6564531fe794072ddfe345773de1cab60a3;hp=1ad899458fcd8edc4cd373e86c8decae1fea37a9;hpb=488e24d71d14e60c7da3272e2428a0b23b57c87c;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); }