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