]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.interop/src/org/simantics/interop/browsing/ImportNode2.java
INode cleanup
[simantics/interop.git] / org.simantics.interop / src / org / simantics / interop / browsing / ImportNode2.java
index e1f81d022ad243e8c5502a4ae2d87de96844193e..7d8655a325bf66563af15b6f0035e00b4e783930 100644 (file)
@@ -5,11 +5,8 @@ import java.util.Collection;
 import java.util.List;\r
 \r
 import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.jface.viewers.ISelection;\r
-import org.simantics.browsing.ui.content.Labeler.Modifier;\r
 import org.simantics.db.ReadGraph;\r
 import org.simantics.db.Resource;\r
-import org.simantics.db.Session;\r
 import org.simantics.db.exception.DatabaseException;\r
 import org.simantics.interop.Activator;\r
 import org.simantics.interop.stubs.InteropResource;\r
@@ -27,11 +24,7 @@ public class ImportNode2 implements INode {
        public Object getAdapter(Class adapter) {\r
                return null;\r
        }\r
-       \r
-       @Override\r
-       public int getCategory(ReadGraph graph) throws DatabaseException {\r
-               return 0;\r
-       }\r
+\r
        \r
        \r
        @Override\r
@@ -44,18 +37,6 @@ public class ImportNode2 implements INode {
                return "Imports";\r
        }\r
        \r
-       @Override\r
-       public Modifier getModifier(Session session, String columnId) {\r
-               return null;\r
-       }\r
-       \r
-\r
-       \r
-       @Override\r
-       public void handleDrop(Session session, ISelection selection) {\r
-               \r
-       }\r
-       \r
        @Override\r
        public boolean hasChildren(ReadGraph graph) throws DatabaseException {\r
                return getChildren(graph).size() > 0;\r
@@ -77,5 +58,10 @@ public class ImportNode2 implements INode {
 \r
        }\r
        \r
+       @Override\r
+       public int getCategory(ReadGraph graph) throws DatabaseException {\r
+               return 0;\r
+       }\r
+       \r
 \r
 }\r