removed debugging output

This commit is contained in:
fros4943 2007-01-12 10:47:05 +00:00
parent 6c879fc81a
commit 4aa5770e3a
1 changed files with 2 additions and 4 deletions

View File

@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* $Id: EventListener.java,v 1.1 2007/01/09 09:50:52 fros4943 Exp $ * $Id: EventListener.java,v 1.2 2007/01/12 10:47:05 fros4943 Exp $
*/ */
package se.sics.cooja.plugins; package se.sics.cooja.plugins;
@ -39,8 +39,6 @@ import se.sics.cooja.*;
import se.sics.cooja.contikimote.ContikiMoteType; import se.sics.cooja.contikimote.ContikiMoteType;
/** /**
* EXPERIMENTAL:
*
* Allows a user to observe several different parts of the simulator, stopping a * Allows a user to observe several different parts of the simulator, stopping a
* simulation whenever an object changes. * simulation whenever an object changes.
* *
@ -156,7 +154,6 @@ public class EventListener extends VisPlugin {
for (Class<? extends MoteInterface> moteTypeClass : allMoteTypesDups) { for (Class<? extends MoteInterface> moteTypeClass : allMoteTypesDups) {
if (!allMoteTypes.contains(moteTypeClass)) { if (!allMoteTypes.contains(moteTypeClass)) {
allMoteTypes.add(moteTypeClass); allMoteTypes.add(moteTypeClass);
logger.debug("Available mote interface class: " + moteTypeClass);
} }
} }
JPanel interfacePanel = new JPanel(); JPanel interfacePanel = new JPanel();
@ -165,6 +162,7 @@ public class EventListener extends VisPlugin {
for (Class<? extends MoteInterface> moteTypeClass : allMoteTypes) { for (Class<? extends MoteInterface> moteTypeClass : allMoteTypes) {
JCheckBox checkBox = new JCheckBox(GUI.getDescriptionOf(moteTypeClass), JCheckBox checkBox = new JCheckBox(GUI.getDescriptionOf(moteTypeClass),
false); false);
checkBox.setToolTipText(moteTypeClass.getName());
checkBox.putClientProperty("interface_class", moteTypeClass); checkBox.putClientProperty("interface_class", moteTypeClass);
checkBox.addActionListener(interfaceCheckBoxListener); checkBox.addActionListener(interfaceCheckBoxListener);