diff --git a/tools/cooja/java/se/sics/cooja/Mote.java b/tools/cooja/java/se/sics/cooja/Mote.java index ca5f5e79d..6fc90d390 100644 --- a/tools/cooja/java/se/sics/cooja/Mote.java +++ b/tools/cooja/java/se/sics/cooja/Mote.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: Mote.java,v 1.2 2006/09/26 13:08:05 fros4943 Exp $ + * $Id: Mote.java,v 1.3 2007/01/09 10:16:26 fros4943 Exp $ */ package se.sics.cooja; @@ -197,6 +197,6 @@ public interface Mote { * * @see #getConfigXML() */ - public abstract boolean setConfigXML(Simulation simulation, Collection configXML); + public abstract boolean setConfigXML(Simulation simulation, Collection configXML, boolean visAvailable); } diff --git a/tools/cooja/java/se/sics/cooja/MoteInterface.java b/tools/cooja/java/se/sics/cooja/MoteInterface.java index 623e6ce10..549eabef3 100644 --- a/tools/cooja/java/se/sics/cooja/MoteInterface.java +++ b/tools/cooja/java/se/sics/cooja/MoteInterface.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: MoteInterface.java,v 1.1 2006/08/21 12:12:56 fros4943 Exp $ + * $Id: MoteInterface.java,v 1.2 2007/01/09 10:16:42 fros4943 Exp $ */ package se.sics.cooja; @@ -153,6 +153,6 @@ public abstract class MoteInterface extends Observable { * @see #getConfigXML() * @param configXML Config XML elements */ - public abstract void setConfigXML(Collection configXML); + public abstract void setConfigXML(Collection configXML, boolean visAvailable); } diff --git a/tools/cooja/java/se/sics/cooja/MoteType.java b/tools/cooja/java/se/sics/cooja/MoteType.java index 7242dd5cb..b193584a0 100644 --- a/tools/cooja/java/se/sics/cooja/MoteType.java +++ b/tools/cooja/java/se/sics/cooja/MoteType.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: MoteType.java,v 1.1 2006/08/21 12:12:57 fros4943 Exp $ + * $Id: MoteType.java,v 1.2 2007/01/09 10:16:26 fros4943 Exp $ */ package se.sics.cooja; @@ -118,7 +118,7 @@ public interface MoteType { * Simulation holding (or that should hold) mote type * @return True if mote type has valid settings and is ready to be used */ - public boolean configureAndInit(JFrame parentFrame, Simulation simulation); + public boolean configureAndInit(JFrame parentFrame, Simulation simulation, boolean visAvailable); /** * Returns XML elements representing the current config of this mote type. @@ -144,6 +144,6 @@ public interface MoteType { * @return True if config was set successfully, false otherwise */ public boolean setConfigXML(Simulation simulation, - Collection configXML); + Collection configXML, boolean visAvailable); }