From 52d234417d663de03f8928a4a97be3f01b2e08e2 Mon Sep 17 00:00:00 2001 From: nifi Date: Fri, 26 Feb 2010 07:46:26 +0000 Subject: [PATCH] Changed to draw the network traffic under the motes --- .../sics/cooja/plugins/skins/TrafficVisualizerSkin.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/cooja/java/se/sics/cooja/plugins/skins/TrafficVisualizerSkin.java b/tools/cooja/java/se/sics/cooja/plugins/skins/TrafficVisualizerSkin.java index d8fd03cd6..f51d81239 100644 --- a/tools/cooja/java/se/sics/cooja/plugins/skins/TrafficVisualizerSkin.java +++ b/tools/cooja/java/se/sics/cooja/plugins/skins/TrafficVisualizerSkin.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: TrafficVisualizerSkin.java,v 1.4 2009/11/25 15:44:51 fros4943 Exp $ + * $Id: TrafficVisualizerSkin.java,v 1.5 2010/02/26 07:46:26 nifi Exp $ */ package se.sics.cooja.plugins.skins; @@ -212,9 +212,6 @@ public class TrafficVisualizerSkin implements VisualizerSkin { } public void paintBeforeMotes(Graphics g) { - } - - public void paintAfterMotes(Graphics g) { if (simulation == null) { /* Skin was never activated */ return; @@ -270,6 +267,9 @@ public class TrafficVisualizerSkin implements VisualizerSkin { } } + public void paintAfterMotes(Graphics g) { + } + public static class ToggleHistoryAction implements SimulationMenuAction { public boolean isEnabled(Visualizer visualizer, Simulation simulation) { return true;