mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
fixed a bug in executeJAR
This commit is contained in:
parent
0e729592f3
commit
f68bc3a40b
@ -57,6 +57,7 @@ import org.contikios.cooja.dialogs.CompileContiki;
|
||||
import org.contikios.cooja.dialogs.MessageList;
|
||||
import org.contikios.cooja.dialogs.MessageList.MessageContainer;
|
||||
import org.contikios.cooja.plugins.ScriptRunner;
|
||||
import org.contikios.cooja.PluginType;
|
||||
|
||||
public class ExecuteJAR {
|
||||
private static Logger logger = Logger.getLogger(ExecuteJAR.class);
|
||||
@ -232,7 +233,7 @@ public class ExecuteJAR {
|
||||
|
||||
/* Check dependencies: Contiki Control Plugin */
|
||||
boolean hasController = false;
|
||||
for (Plugin startedPlugin : gui.startedPlugins) {
|
||||
for (Plugin startedPlugin : gui.getStartedPlugins()) {
|
||||
int pluginType = startedPlugin.getClass().getAnnotation(PluginType.class).value();
|
||||
if (pluginType == PluginType.SIM_CONTROL_PLUGIN) {
|
||||
hasController = true;
|
||||
|
Loading…
Reference in New Issue
Block a user