]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTable.java
Fix NPEs in tech type command handlers' canExecute()
[simantics/district.git] / org.simantics.district.network.ui / src / org / simantics / district / network / ui / techtype / table / TechTypeTable.java
index b18e10c8d63f50c8971ef2fd90150ae783b37e69..7438269aba7071990b2b052cc21c539725d48d3d 100644 (file)
@@ -334,6 +334,10 @@ public class TechTypeTable extends Composite {
                super.dispose();
        }
        
+       public Resource getComponentType() {
+               return this.componentType;
+       }
+       
        public void setComponentType(Resource componentType) {
                if (Objects.equals(this.componentType, componentType))
                        return;