]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
TextNode:
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 19 Oct 2011 12:11:10 +0000 (12:11 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 19 Oct 2011 12:11:10 +0000 (12:11 +0000)
* Only left button clicks activate editing
* Implement IDynamicSelectionPainterNode

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@22841 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/ModuleNode.java

index 6695543df8122c9478f119a5f75f5ed8e8ff583b..a4eee5909398a2906f303fe7faa71655971b3f21 100644 (file)
@@ -71,7 +71,7 @@ public class ModuleNode extends HoverTextNode {
         \r
         \r
         boolean selected = NodeUtil.isSelected(this, 1);\r
-        if (selected && showSelection()) {\r
+        if (selected && showsSelection()) {\r
             Composite oc = g.getComposite();\r
             g.setComposite(AlphaComposite.SrcAtop.derive(0.5f));\r
 \r