This commit is contained in:
fros4943 2008-02-12 15:03:22 +00:00
parent 6c8151b449
commit 773736a6ca
1 changed files with 21 additions and 21 deletions

View File

@ -24,13 +24,13 @@
* (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: MoteType.java,v 1.7 2007/05/10 17:00:03 fros4943 Exp $ * $Id: MoteType.java,v 1.8 2008/02/12 15:03:22 fros4943 Exp $
*/ */
package se.sics.cooja; package se.sics.cooja;
import java.awt.Container;
import java.util.Collection; import java.util.Collection;
import javax.swing.JFrame;
import javax.swing.JPanel; import javax.swing.JPanel;
import org.jdom.Element; import org.jdom.Element;
@ -111,15 +111,15 @@ public interface MoteType {
* *
* This method need normally only be run once per mote type! * This method need normally only be run once per mote type!
* *
* @param parentFrame * @param parentContainer
* Parent frame or null * Parent container. May be null if not visualized.
* @param simulation * @param simulation
* Simulation holding (or that should hold) mote type * Simulation holding (or that should hold) mote type
* @param visAvailable * @param visAvailable
* True if this method is allowed to show a visualizer * True if this method is allowed to show a visualizer
* @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(Container parentContainer, Simulation simulation,
boolean visAvailable) throws MoteTypeCreationException; boolean visAvailable) throws MoteTypeCreationException;
/** /**