Package de.hpi.eworld.gui

Examples of de.hpi.eworld.gui.ProgressDialog


  private void importFile() {
    // clear model before importing new data
    ModelManager.getInstance().clearModel();
   
    progressDialog = new ProgressDialog(
      this,
      "Loading map data from OSM file...",
      new CancelListener(this)
    );
View Full Code Here


      public void actionPerformed(ActionEvent e) {
        closeDialog();
      }
    });
   
    progressDialog = new ProgressDialog(this, "Importing file...");
    progressDialog.setButtonText("Cancel");
   
    progressDialog.addWindowStateListener(new WindowStateListener() {
     
      @Override
View Full Code Here

  private final int totalSize;
  private ProgressDialog progressDialog;

  public GraphControllerBatchWorker(final GraphController controller, final GraphModel model, final boolean osmDefaultValues, final boolean filterDuplicateEdges) {
   
    progressDialog = new ProgressDialog(null, "Updating graphics ...");
    progressDialog.setIconImage(ResourceLoader.createIconFromLocalResource(getClass().getClassLoader(), "globe-32x32.png").getImage());
   
    this.controller = controller;
    this.model = model;
    this.osmDefaultValues = osmDefaultValues;
View Full Code Here

    includeTL = trafficLightsCheckBox.isSelected();
    withRoutes = routeFileCheckBox.isSelected();
 
    ModelManager model = ModelManager.getInstance();
   
    progressDialog = new ProgressDialog(this,
        "Loading SUMO file...",
        new CancelListener(this));

    progressDialog.setVisible(true);
    this.setVisible(false);
View Full Code Here

    url.append(",");
    url.append(currentBounds.maxLon);
    url.append(",");
    url.append(currentBounds.maxLat);

    progressDialog = new ProgressDialog(
      this,
      "Downloading and processing map data from OSM...",
      this
    );
View Full Code Here

TOP

Related Classes of de.hpi.eworld.gui.ProgressDialog

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.