Package jmt.gui.common.panels.parametric

Examples of jmt.gui.common.panels.parametric.ParametricAnalysisPanel


    connections = new ConnectionsPanel(model);
    parameters = new AllStationsParametersPanel(model, model);
    measures = new MeasurePanel(model, model, model);
    rspl = new RSPLPanel(model, model, model);
    simulation = new SimulationPanel(model, model, model, this);
    parametricAnalysis = new ParametricAnalysisPanel(model, model, model, this);
    blocking = new AllBlockingRegionsPanel(model, model, model);
    initComponents();
    mc = new ModelChecker(model, model, model, model, false);
    pw = new JSimProblemsWindow(mc, this);
  }
View Full Code Here


  /**
   * Called when EditPAParams action is triggered
   */
  public void editPAParameters() {
    dialogFactory.getDialog(new ParametricAnalysisPanel(model, model, model, this), "Define What-if analysis parameters");
  }
View Full Code Here

    } else if ((problemSubType == ModelChecker.PARAMETRIC_ANALYSIS_MODEL_MODIFIED_WARNING) && (problemType == ModelChecker.WARNING_PROBLEM)) {
      String message = "Check parametric analysis model?\n\nThe parametric analysis model previously defined had become inconsistent with the \nsimulation model. It will be automatically modified when simulation will be started.\nDo you want to autocorrect and check parametric analysis panel?\n\n";
      int k = JOptionPane.showConfirmDialog(null, message, "Inconsistent parametric analysis model", JOptionPane.WARNING_MESSAGE);
      if (k == 0) {
        model.getParametricAnalysisModel().checkCorrectness(true);
        ParametricAnalysisPanel paPanel = new ParametricAnalysisPanel(model, model, model, this);
        dialogFactory.getDialog(paPanel, "Edit what-if analysis parameters");
      }
    } else if ((problemSubType == ModelChecker.PARAMETRIC_ANALYSIS_NO_MORE_AVAIBLE_WARNING) && (problemType == ModelChecker.WARNING_PROBLEM)) {
      String message = "Parametric analysis was set, but no parametric analysis is now avaible,\nsince the simulation model was changed. It is only possible to execute normal simulation.\nDo you wish to continue anyway?\n\n";
      int k = JOptionPane.showConfirmDialog(null, message, "Parametric analysis not avaible", JOptionPane.WARNING_MESSAGE);
View Full Code Here

TOP

Related Classes of jmt.gui.common.panels.parametric.ParametricAnalysisPanel

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.