X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2Fannotations%2FGetPropertyValue.java;fp=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fproperty%2Fannotations%2FGetPropertyValue.java;h=d79fb9a3016126880927f5cb139675124c57be56;hb=87b3241ec277ba3d8e414b26186a032c9cdcaeed;hp=0000000000000000000000000000000000000000;hpb=1f0bcd66274375f2278d2e6c486cb28257a5f7b2;p=simantics%2F3d.git diff --git a/org.simantics.g3d/src/org/simantics/g3d/property/annotations/GetPropertyValue.java b/org.simantics.g3d/src/org/simantics/g3d/property/annotations/GetPropertyValue.java new file mode 100644 index 00000000..d79fb9a3 --- /dev/null +++ b/org.simantics.g3d/src/org/simantics/g3d/property/annotations/GetPropertyValue.java @@ -0,0 +1,18 @@ +package org.simantics.g3d.property.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.simantics.g3d.property.DefaultPropertyManipulatorFactory; +import org.simantics.g3d.property.PropertyManipulatorFactory; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface GetPropertyValue { + String value(); + String name() default ""; + String tabId() default "Default"; + Class manipulator() default DefaultPropertyManipulatorFactory.class; +}