]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@16905 ac1ea38d-2e2b...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 2 Aug 2010 13:26:21 +0000 (13:26 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 2 Aug 2010 13:26:21 +0000 (13:26 +0000)
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/ValveFactory.java
org.simantics.sysdyn/build.properties

index d231adbdadd28a2efcd2c0badec86466a628a2b7..a9774e5cb3d7ed601dfe31a18fb6701351f13eaf 100644 (file)
@@ -135,6 +135,9 @@ public class ValveFactory extends SysdynElementFactory {
                 public void hintChanged(IHintObservable sender, Key key, Object oldValue, Object newValue) {\r
                     IElement e = (IElement)sender;\r
                     HoverShapeNode shape = (HoverShapeNode) e.getHint(NODE);\r
+                    if(shape == null) {\r
+                        return;\r
+                    }\r
                     boolean hover = ElementUtils.isHovering(e);\r
                     shape.setHover(hover);\r
                 }\r
index b088bf189f5cea2ed5bd984e45bc934ad442ca44..886d03ee265ee765899ed3c77fa70bb1da819f3e 100644 (file)
@@ -12,4 +12,5 @@
 source.. = src/\r
 output.. = bin/\r
 bin.includes = META-INF/,\\r
-               .\r
+               .,\\r
+               adapters.xml\r