Implemented things needed for setHighLevelState
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / components / GUIManualSwitch.java
index be4c327..f960d65 100644 (file)
@@ -68,6 +68,11 @@ public class GUIManualSwitch extends GUIComponent
                registerLogicObs(logicSwitch);
        }
 
+       public boolean hasLogicModelBinding()
+       {
+               return logicSwitch != null;
+       }
+
        private void registerLogicObs(LogicObservable observable)
        {
                if (observable != null)