Package de.hpi.eworld.exporter.sumo.data

Examples of de.hpi.eworld.exporter.sumo.data.SumoTrip


   */
  @SuppressWarnings("unused")
  private void onEditTrip() {
    List<QListWidgetItem> selectedItems = tripWidget.selectedItems();
    for (QListWidgetItem lwi : selectedItems) {
      SumoTrip t = sm.getTrip(lwi.text());
           
      CreateTripDialog tripDialog = new CreateTripDialog(this, nv, t);
      tripDialog.show();
    }
  }
View Full Code Here


   * @param item A list widget item. Its text will be used as ID to search for in the sumo manager
   * to get a trip to edit.
   */
  @SuppressWarnings("unused")
  private void onEditTrip(QListWidgetItem item) {
    SumoTrip t = sm.getTrip(item.text());
    CreateTripDialog tripDialog = new CreateTripDialog(this, nv, t);
    tripDialog.show();
  }
View Full Code Here

          .warning(this, "Missing information",
              "Please fill out all neccessary fields (Id, From- and To-Edge)");
      return;
    }
    if (currentTrip == null) {
      SumoTrip result = new SumoTrip(depTimeSpin.value(), fromEdgeEdit
          .text(), idText.text(), toEdgeEdit.text());
      result.setPeriod(periodEdit.value());
      result.setRepNumber(repnoEdit.value());
      result.setVType(SumoManager.getInstance().getVehicleTypeById(
          typeCombo.currentText()));
      finishedSignal.emit(result);
      finishedSignal.disconnect();
    } else {
      currentTrip.setData(depTimeSpin.value(), fromEdgeEdit.text(),
View Full Code Here

TOP

Related Classes of de.hpi.eworld.exporter.sumo.data.SumoTrip

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.