]> gerrit.simantics Code Review - simantics/platform.git/blob - 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
1 package org.simantics.modeling.adapters;\r
2 \r
3 import org.simantics.db.Resource;\r
4 \r
5 public class ChangeInformationProperty {\r
6 \r
7         public static enum ChangeInformationPropertyType {\r
8                 CREATEDBY("Author"),CREATEDAT("Created At"),MODIFIEDBY("Last Modified By"),MODIFIEDAT("Last Modified At");\r
9                 final public String label;\r
10                 ChangeInformationPropertyType(String label) {\r
11                         this.label = label;\r
12                 }\r
13         }\r
14         \r
15         public final Resource resource;\r
16         public final ChangeInformationPropertyType type;\r
17         \r
18         public ChangeInformationProperty(ChangeInformationPropertyType type, Resource resource) {\r
19                 this.type = type;\r
20                 this.resource = resource;\r
21         }\r
22         \r
23 }\r