Skip to content

Commit

Permalink
[cooja] plugins/VariableWatcher: Also disble addr and size input fiel…
Browse files Browse the repository at this point in the history
…ds when monitoring
  • Loading branch information
Enrico Joerns committed Aug 30, 2014
1 parent 33b211c commit 42ad188
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -483,6 +483,8 @@ public void actionPerformed(ActionEvent e) {
varAddrCheckBox.setEnabled(true);
readButton.setEnabled(true);
writeButton.setEnabled(true);
varAddressField.setEnabled(true);
varSizeField.setEnabled(true);
if (!varAddrCheckBox.isSelected()) {
varNameCombo.setEnabled(true);
}
Expand Down Expand Up @@ -523,6 +525,8 @@ public void memoryChanged(MemoryInterface memory, EventType type, long address)
varAddrCheckBox.setEnabled(false);
readButton.setEnabled(false);
writeButton.setEnabled(false);
varAddressField.setEnabled(false);
varSizeField.setEnabled(false);
varNameCombo.setEnabled(false);
}
});
Expand Down

0 comments on commit 42ad188

Please sign in to comment.