import org.simantics.db.ReadGraph;
import org.simantics.db.exception.DatabaseException;
-public class EntryLabeler extends LabelerContributor<ResourcePair> {
+public class EntryLabeler extends LabelerContributor<ProfileTuple> {
@Override
- public String getLabel(ReadGraph graph, ResourcePair entry) throws DatabaseException {
- return graph.adapt(entry.getSecond(), String.class);
+ public String getLabel(ReadGraph graph, ProfileTuple entry) throws DatabaseException {
+ return graph.adapt(entry.getEntry(), String.class);
}
}