]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/ExportableWidget.java
Changes for Eclipse 2019-12 RCP platform compatibility.
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / ExportableWidget.java
1 package org.simantics.scenegraph;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8 public interface ExportableWidget {
9     /**
10      * 
11      * @author J-P
12      *
13      */
14     @Retention(RetentionPolicy.RUNTIME)
15     @Target(ElementType.TYPE)
16     public @interface OutputWidget {
17         String[] value(); // Field name(s)
18     }
19
20     /**
21      * 
22      * @author J-P
23      *
24      */
25     @Retention(RetentionPolicy.RUNTIME)
26     @Target(ElementType.TYPE)
27     public @interface InputWidget {
28         String[] value(); // Field name(s)
29     }
30     
31     /**
32      *
33      * @author J-P
34      *
35      */
36     @Retention(RetentionPolicy.RUNTIME)
37     @Target(ElementType.TYPE)
38     public @interface RasterOutputWidget {
39     }
40 }