From: lempinen Date: Mon, 22 Oct 2012 11:23:23 +0000 (+0000) Subject: WorkbenchSelectionElement in nodeType (refs #3799) X-Git-Tag: simantics-1.10.1~118 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1420f291c54fb3d4521f63f7dac01a4d228f8398;p=simantics%2Fsysdyn.git WorkbenchSelectionElement in nodeType (refs #3799) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26122 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 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; + } }