From 0d3804710036115e9e6eca83d55d0ec4b83a8802 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Mon, 22 Jan 2018 13:06:12 +0200 Subject: [PATCH] Fixing Logger fallout caused by platform commit 1dfeb7d5 refs #7719 Change-Id: I493f7330f826208446410e66b9eb7a0f34709da0 --- org.simantics.interop/META-INF/MANIFEST.MF | 3 ++- .../org/simantics/interop/browsing/INodeEvaluators.java | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/org.simantics.interop/META-INF/MANIFEST.MF b/org.simantics.interop/META-INF/MANIFEST.MF index e61106c..6af0e07 100644 --- a/org.simantics.interop/META-INF/MANIFEST.MF +++ b/org.simantics.interop/META-INF/MANIFEST.MF @@ -21,7 +21,8 @@ Require-Bundle: org.eclipse.ui, org.simantics.layer0;bundle-version="1.0.0", org.simantics.diagram.ontology;bundle-version="1.1.1", org.simantics.browsing.ui.model;bundle-version="1.0.0", - org.simantics.structural.ontology;bundle-version="1.1.0" + org.simantics.structural.ontology;bundle-version="1.1.0", + org.slf4j.api Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Export-Package: diff --git a/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java b/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java index 4c8d045..7329345 100644 --- a/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java +++ b/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java @@ -33,6 +33,8 @@ import org.simantics.db.exception.DatabaseException; import org.simantics.modeling.ui.modelBrowser.model.IChildrenCallback; import org.simantics.modeling.ui.modelBrowser.model.IDisposable; import org.simantics.modeling.ui.modelBrowser.model.IUpdateable; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; public class INodeEvaluators { @@ -145,6 +147,11 @@ class NodeLabelerFactory implements LabelerFactory { public int category(ReadGraph graph) throws DatabaseException { return ((INode) context.getConstant(BuiltinKeys.INPUT)).getCategory(graph); } + + @Override + public Logger getLogger() { + return LoggerFactory.getLogger(NodeLabelerFactory.class); + } }; } } -- 2.47.1