]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/adapters/ChangeInformationProperty.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / adapters / ChangeInformationProperty.java
diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/adapters/ChangeInformationProperty.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/adapters/ChangeInformationProperty.java
new file mode 100644 (file)
index 0000000..912d11e
--- /dev/null
@@ -0,0 +1,23 @@
+package org.simantics.modeling.adapters;\r
+\r
+import org.simantics.db.Resource;\r
+\r
+public class ChangeInformationProperty {\r
+\r
+       public static enum ChangeInformationPropertyType {\r
+               CREATEDBY("Author"),CREATEDAT("Created At"),MODIFIEDBY("Last Modified By"),MODIFIEDAT("Last Modified At");\r
+               final public String label;\r
+               ChangeInformationPropertyType(String label) {\r
+                       this.label = label;\r
+               }\r
+       }\r
+       \r
+       public final Resource resource;\r
+       public final ChangeInformationPropertyType type;\r
+       \r
+       public ChangeInformationProperty(ChangeInformationPropertyType type, Resource resource) {\r
+               this.type = type;\r
+               this.resource = resource;\r
+       }\r
+       \r
+}\r