disabled ip distributors, currently not used
This commit is contained in:
parent
d669cc67fb
commit
dfbc51c6f2
1 changed files with 6 additions and 5 deletions
|
@ -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: AddMoteDialog.java,v 1.8 2009/03/12 18:40:06 nifi Exp $
|
* $Id: AddMoteDialog.java,v 1.9 2009/04/20 16:09:29 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.dialogs;
|
package se.sics.cooja.dialogs;
|
||||||
|
@ -66,7 +66,7 @@ public class AddMoteDialog extends JDialog {
|
||||||
|
|
||||||
private JFormattedTextField numberOfMotesField, startX, endX, startY, endY,
|
private JFormattedTextField numberOfMotesField, startX, endX, startY, endY,
|
||||||
startZ, endZ;
|
startZ, endZ;
|
||||||
private JComboBox positionDistributionBox, ipDistributionBox;
|
private JComboBox positionDistributionBox /*, ipDistributionBox*/;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -177,7 +177,7 @@ public class AddMoteDialog extends JDialog {
|
||||||
mainPane.add(Box.createRigidArea(new Dimension(0, 5)));
|
mainPane.add(Box.createRigidArea(new Dimension(0, 5)));
|
||||||
|
|
||||||
// IP address distribution
|
// IP address distribution
|
||||||
smallPane = new JPanel();
|
/*smallPane = new JPanel();
|
||||||
smallPane.setAlignmentX(Component.LEFT_ALIGNMENT);
|
smallPane.setAlignmentX(Component.LEFT_ALIGNMENT);
|
||||||
smallPane.setLayout(new BoxLayout(smallPane, BoxLayout.X_AXIS));
|
smallPane.setLayout(new BoxLayout(smallPane, BoxLayout.X_AXIS));
|
||||||
label = new JLabel("IP Addressing");
|
label = new JLabel("IP Addressing");
|
||||||
|
@ -204,6 +204,7 @@ public class AddMoteDialog extends JDialog {
|
||||||
|
|
||||||
mainPane.add(smallPane);
|
mainPane.add(smallPane);
|
||||||
mainPane.add(Box.createRigidArea(new Dimension(0, 5)));
|
mainPane.add(Box.createRigidArea(new Dimension(0, 5)));
|
||||||
|
*/
|
||||||
|
|
||||||
// Position distribution
|
// Position distribution
|
||||||
smallPane = new JPanel();
|
smallPane = new JPanel();
|
||||||
|
@ -521,7 +522,7 @@ public class AddMoteDialog extends JDialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
// IP address new motes
|
// IP address new motes
|
||||||
Class<? extends IPDistributor> ipDistClass = null;
|
/*Class<? extends IPDistributor> ipDistClass = null;
|
||||||
for (Class<? extends IPDistributor> ipDistributor : simulation.getGUI()
|
for (Class<? extends IPDistributor> ipDistributor : simulation.getGUI()
|
||||||
.getRegisteredIPDistributors()) {
|
.getRegisteredIPDistributors()) {
|
||||||
if (GUI.getDescriptionOf(ipDistributor).equals(
|
if (GUI.getDescriptionOf(ipDistributor).equals(
|
||||||
|
@ -545,7 +546,7 @@ public class AddMoteDialog extends JDialog {
|
||||||
newMotes.get(i).getInterfaces().getIPAddress().setIPString(
|
newMotes.get(i).getInterfaces().getIPAddress().setIPString(
|
||||||
newIPString);
|
newIPString);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
dispose();
|
dispose();
|
||||||
} catch (OutOfMemoryError e2) {
|
} catch (OutOfMemoryError e2) {
|
||||||
|
|
Loading…
Reference in a new issue