]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
Fixing Logger fallout caused by platform commit 1dfeb7d5 94/1394/1 release/1.33.0
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 22 Jan 2018 11:06:12 +0000 (13:06 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 22 Jan 2018 11:06:12 +0000 (13:06 +0200)
refs #7719

Change-Id: I493f7330f826208446410e66b9eb7a0f34709da0

org.simantics.interop/META-INF/MANIFEST.MF
org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java

index e61106cfcf4319f0df11a001080eb808d2e909f8..6af0e07f93a17edc7571ba8051d9ec26fc6be85d 100644 (file)
@@ -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: 
index 4c8d0453a401f0cbac50730fca51a0e03a5b8359..73293455b2c93b3d5d4159cdad0bd185b83d768f 100644 (file)
@@ -33,6 +33,8 @@ import org.simantics.db.exception.DatabaseException;
 import org.simantics.modeling.ui.modelBrowser.model.IChildrenCallback;\r
 import org.simantics.modeling.ui.modelBrowser.model.IDisposable;\r
 import org.simantics.modeling.ui.modelBrowser.model.IUpdateable;\r
+import org.slf4j.Logger;\r
+import org.slf4j.LoggerFactory;\r
 \r
 \r
 public class INodeEvaluators {\r
@@ -145,6 +147,11 @@ class NodeLabelerFactory implements LabelerFactory {
             public int category(ReadGraph graph) throws DatabaseException {\r
                 return ((INode) context.getConstant(BuiltinKeys.INPUT)).getCategory(graph);\r
             }\r
+\r
+            @Override\r
+            public Logger getLogger() {\r
+                return LoggerFactory.getLogger(NodeLabelerFactory.class);\r
+            }\r
         };\r
     }\r
 }\r