]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/src/org/simantics/g3d/property/annotations/GetPropertyValue.java
3D framework (Simca 2012)
[simantics/3d.git] / org.simantics.g3d / src / org / simantics / g3d / property / annotations / GetPropertyValue.java
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 (file)
index 0000000..d79fb9a
--- /dev/null
@@ -0,0 +1,18 @@
+package org.simantics.g3d.property.annotations;\r
+\r
+import java.lang.annotation.ElementType;\r
+import java.lang.annotation.Retention;\r
+import java.lang.annotation.RetentionPolicy;\r
+import java.lang.annotation.Target;\r
+\r
+import org.simantics.g3d.property.DefaultPropertyManipulatorFactory;\r
+import org.simantics.g3d.property.PropertyManipulatorFactory;\r
+\r
+@Retention(RetentionPolicy.RUNTIME)\r
+@Target(ElementType.METHOD)\r
+public @interface GetPropertyValue {\r
+       String value();\r
+       String name() default "";\r
+       String tabId() default "Default";\r
+       Class<? extends PropertyManipulatorFactory> manipulator() default DefaultPropertyManipulatorFactory.class; \r
+}\r