removed old unused makefile-quickstart code
This commit is contained in:
parent
bfbf253a93
commit
f9d4fa93f8
1 changed files with 1 additions and 21 deletions
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiMoteTypeDialog.java,v 1.7 2006/09/05 14:57:57 fros4943 Exp $
|
||||
* $Id: ContikiMoteTypeDialog.java,v 1.8 2006/09/06 10:32:31 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote;
|
||||
|
@ -1827,26 +1827,6 @@ public class ContikiMoteTypeDialog extends JDialog {
|
|||
myDialog.createButton, ActionEvent.ACTION_PERFORMED,
|
||||
"recheck_interface_dependencies"));
|
||||
|
||||
// Check if COOJA was started with a recommended process (select process)
|
||||
if (System.getProperty("QUICKSTART_APP") != null) {
|
||||
|
||||
// Pre-select recommended process
|
||||
String wantedSourceFilename = System.getProperty("QUICKSTART_APP");
|
||||
|
||||
for (Component checkBox : myDialog.processPanel.getComponents()) {
|
||||
JCheckBox processCheckBox = (JCheckBox) checkBox;
|
||||
String processFilename = processCheckBox.getToolTipText();
|
||||
|
||||
if (processFilename.startsWith(wantedSourceFilename)) {
|
||||
// We found the recommended process, select it
|
||||
processCheckBox.setSelected(true);
|
||||
myDialog.autoSelectDependencyProcesses(processCheckBox.getText(),
|
||||
processFilename, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
settingsOK = true;
|
||||
testButton.setEnabled(settingsOK);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue