new method params: is visualizer available
This commit is contained in:
parent
8717e8c10b
commit
aaaf19f72d
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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;
|
package se.sics.cooja;
|
||||||
|
@ -197,6 +197,6 @@ public interface Mote {
|
||||||
*
|
*
|
||||||
* @see #getConfigXML()
|
* @see #getConfigXML()
|
||||||
*/
|
*/
|
||||||
public abstract boolean setConfigXML(Simulation simulation, Collection<Element> configXML);
|
public abstract boolean setConfigXML(Simulation simulation, Collection<Element> configXML, boolean visAvailable);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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;
|
package se.sics.cooja;
|
||||||
|
@ -153,6 +153,6 @@ public abstract class MoteInterface extends Observable {
|
||||||
* @see #getConfigXML()
|
* @see #getConfigXML()
|
||||||
* @param configXML Config XML elements
|
* @param configXML Config XML elements
|
||||||
*/
|
*/
|
||||||
public abstract void setConfigXML(Collection<Element> configXML);
|
public abstract void setConfigXML(Collection<Element> configXML, boolean visAvailable);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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;
|
package se.sics.cooja;
|
||||||
|
@ -118,7 +118,7 @@ public interface MoteType {
|
||||||
* Simulation holding (or that should hold) mote type
|
* Simulation holding (or that should hold) mote type
|
||||||
* @return True if mote type has valid settings and is ready to be used
|
* @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.
|
* 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
|
* @return True if config was set successfully, false otherwise
|
||||||
*/
|
*/
|
||||||
public boolean setConfigXML(Simulation simulation,
|
public boolean setConfigXML(Simulation simulation,
|
||||||
Collection<Element> configXML);
|
Collection<Element> configXML, boolean visAvailable);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue