Package jmt.gui.common.panels

Examples of jmt.gui.common.panels.MeasurePanel$MeasureTable


    this.centerWindow();
    classes = new ClassesPanel(model);
    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();
View Full Code Here


  /**
   * Launches the <code>Measure</code> editor.
   * Author: Bertoli Marco
   */
  public void editMeasures() {
    dialogFactory.getDialog(new MeasurePanel(model, model, model), "Define performance indices");
  }
View Full Code Here

    // if it is a no station error show an error message dialog
    else if ((problemSubType == ModelChecker.NO_STATION_ERROR) && (problemType == ModelChecker.ERROR_PROBLEM)) {
      JOptionPane.showMessageDialog(null, "Please insert at least one server or delay before starting simulation.", "Error",
          JOptionPane.ERROR_MESSAGE);
    } else if ((problemSubType == ModelChecker.SIMULATION_ERROR) && (problemType == ModelChecker.ERROR_PROBLEM)) {
      dialogFactory.getDialog(new MeasurePanel(model, model, model), "Edit Performance Indices");
    }
    // if a measure is inconsistent (i.e have one or more 'null' field) show
    // performance indices panel
    else if ((problemSubType == ModelChecker.INCONSISTENT_MEASURE_ERROR) && (problemType == ModelChecker.ERROR_PROBLEM)) {
      dialogFactory.getDialog(new MeasurePanel(model, model, model), "Edit Performance Indices");
    }
   
    else if ((problemSubType == ModelChecker.SINK_PERF_IND_WITH_NO_SINK_ERROR) && (problemType == ModelChecker.ERROR_PROBLEM)) {
      dialogFactory.getDialog(new MeasurePanel(model, model, model), "Edit Performance Indices");
    }
    else if ((problemSubType == ModelChecker.SINK_PERF_WITH_CLOSED_CLASS_ERROR) && (problemType == ModelChecker.ERROR_PROBLEM)) {
      dialogFactory.getDialog(new MeasurePanel(model, model, model), "Edit Performance Indices");
    }
    // if a measure was defined more than once ask to erase all redundant
    // measure
    else if ((problemSubType == ModelChecker.DUPLICATE_MEASURE_ERROR) && (problemType == ModelChecker.ERROR_PROBLEM)) {
      int k = JOptionPane.showConfirmDialog(null, "Delete all redundant performance indices?\n", "Redundant performance indices found",
View Full Code Here

TOP

Related Classes of jmt.gui.common.panels.MeasurePanel$MeasureTable

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.