X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram.profile%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fprofile%2Fview%2FEntryLabeler.java;h=b05f0e449a3fdac36f2279d5c34da37d61e9d384;hb=08dc7080753f3ea35985e76e9effb9d3ff92c3b5;hp=00a9b7a58f7f028456d6582b10efbd005b00e75b;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/EntryLabeler.java b/bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/EntryLabeler.java index 00a9b7a58..b05f0e449 100644 --- a/bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/EntryLabeler.java +++ b/bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/EntryLabeler.java @@ -15,11 +15,11 @@ import org.simantics.browsing.ui.graph.contributor.labeler.LabelerContributor; import org.simantics.db.ReadGraph; import org.simantics.db.exception.DatabaseException; -public class EntryLabeler extends LabelerContributor { +public class EntryLabeler extends LabelerContributor { @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); } }