1 package org.simantics.modeling.ui.scl.expressions;
3 import org.simantics.db.Resource;
5 public class SCLExpressionTableEntry implements Comparable<SCLExpressionTableEntry> {
7 private final String content;
8 private final String location;
9 private final Resource resource;
11 public SCLExpressionTableEntry(String content, String position, Resource resource) {
12 this.content = content;
13 this.location = position;
14 this.resource = resource;
17 public String getContent() {
21 public String getLocation() {
25 public Resource getResource() {
30 public int compareTo(SCLExpressionTableEntry o) {
31 return o.getContent().compareTo(content);