From 1420f291c54fb3d4521f63f7dac01a4d228f8398 Mon Sep 17 00:00:00 2001 From: lempinen Date: Mon, 22 Oct 2012 11:23:23 +0000 Subject: [PATCH] WorkbenchSelectionElement in nodeType (refs #3799) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26122 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../sysdyn/ui/browser/nodeTypes/ModuleSymbolNodeType.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodeTypes/ModuleSymbolNodeType.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodeTypes/ModuleSymbolNodeType.java index 3ab81f1e..e4e8fde6 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodeTypes/ModuleSymbolNodeType.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodeTypes/ModuleSymbolNodeType.java @@ -23,6 +23,7 @@ import org.simantics.db.ReadGraph; import org.simantics.db.Resource; import org.simantics.db.common.utils.NameUtils; import org.simantics.db.exception.DatabaseException; +import org.simantics.ui.selection.WorkbenchSelectionElement; /** * Experimental node type for Module symbols. Copied mostly from {@link SpecialNodeType}. @@ -103,6 +104,11 @@ public class ModuleSymbolNodeType implements NodeType { public String toString(ReadGraph graph) throws DatabaseException { return "(" + NameUtils.getSafeName(graph, resource) + ")"; } + + @Override + public WorkbenchSelectionElement getWorkbenchSelectionElement(NodeContext context) { + return null; + } } -- 2.47.1