X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.graph.impl%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fgraph%2Fimpl%2FRelationContextLabelerFactory.java;h=d9c9ca8fbc4bcaf5fec58fc12405fd86ebcad99a;hp=6bb04490aff9a9b7136cccac2e52c8769b5b0bd9;hb=1dfeb7d5c49b1391cd9d877e1eddab18995cb151;hpb=c13c4179bda758e77fe1f2032d3c4268bb9e3120 diff --git a/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/RelationContextLabelerFactory.java b/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/RelationContextLabelerFactory.java index 6bb04490a..d9c9ca8fb 100644 --- a/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/RelationContextLabelerFactory.java +++ b/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/RelationContextLabelerFactory.java @@ -24,6 +24,8 @@ import org.simantics.db.ReadGraph; import org.simantics.db.RelationContext; import org.simantics.db.exception.DatabaseException; import org.simantics.utils.datastructures.ArrayMap; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * @author Tuukka Lehtonen @@ -46,6 +48,11 @@ public class RelationContextLabelerFactory implements LabelerFactory { object = LabelerUtil.safeStringRepresentation(graph, ctx.getStatement().getObject()); return ArrayMap.make(ColumnKeys.KEYS_PROPERTY_VALUE, new String[] { property, object }); } + + @Override + public Logger getLogger() { + return LoggerFactory.getLogger(RelationContextLabelerFactory.class); + } }; }