Package com.google.gdt.eclipse.designer.mobile.device.command

Examples of com.google.gdt.eclipse.designer.mobile.device.command.DeviceAddCommand


    Rectangle displayBounds =
        new Rectangle(Integer.parseInt(m_displayField_x.getText()),
            Integer.parseInt(m_displayField_y.getText()),
            Integer.parseInt(m_displayField_width.getText()),
            Integer.parseInt(m_displayField_height.getText()));
    return new DeviceAddCommand(targetCategory,
        "device_" + System.currentTimeMillis(),
        m_nameField.getText(),
        m_imageField.getText(),
        displayBounds);
  }
View Full Code Here


  private void addDevice(CategoryInfo category,
      String id,
      String name,
      String imagePath,
      Rectangle displayBounds) {
    DeviceManager.commandsAdd(new DeviceAddCommand(category, id, name, imagePath, displayBounds));
  }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.mobile.device.command.DeviceAddCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.