Package jmt.gui.common.panels

Examples of jmt.gui.common.panels.SimulationPanel$PreloadTableModel


    stations = new StationsPanel(model, model);
    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


      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);
        tabbedPane.setSelectedIndex(8);
        SimulationPanel simPanel = (SimulationPanel) tabbedPane.getComponentAt(6);
        //model.getParametricAnalysisModel().setModified(true);
      }
    } 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

  /**
   * Called when EditSimParams action is triggered
   */
  public void editSimulationParameters() {
    dialogFactory.getDialog(new SimulationPanel(model, model, model, this), "Define Simulation Parameters");
  }
View Full Code Here

TOP

Related Classes of jmt.gui.common.panels.SimulationPanel$PreloadTableModel

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.