Examples of SumoTrip


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

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

   * @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

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

          .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
Copyright © 2018 www.massapi.com. 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.