From 42ad188b69a55913d672c633f450f6a30419ce2f Mon Sep 17 00:00:00 2001 From: Enrico Joerns Date: Thu, 28 Aug 2014 18:21:45 +0200 Subject: [PATCH] [cooja] plugins/VariableWatcher: Also disble addr and size input fields when monitoring --- .../java/org/contikios/cooja/plugins/VariableWatcher.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java b/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java index f7a64c747..cc91663d7 100644 --- a/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java +++ b/tools/cooja/java/org/contikios/cooja/plugins/VariableWatcher.java @@ -483,6 +483,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin { varAddrCheckBox.setEnabled(true); readButton.setEnabled(true); writeButton.setEnabled(true); + varAddressField.setEnabled(true); + varSizeField.setEnabled(true); if (!varAddrCheckBox.isSelected()) { varNameCombo.setEnabled(true); } @@ -523,6 +525,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin { varAddrCheckBox.setEnabled(false); readButton.setEnabled(false); writeButton.setEnabled(false); + varAddressField.setEnabled(false); + varSizeField.setEnabled(false); varNameCombo.setEnabled(false); } });