Package jmt.gui.exact.panels

Examples of jmt.gui.exact.panels.SystemRespTimePanel


      for (SolverAlgorithm algorithm : data.getWhatifAlgorithms()) {
        AlgorithmPanel algPanel = new AlgorithmPanel(this, algorithm);
        algPanel.addSolutionPanel(new ThroughputPanel(this, algorithm));
        algPanel.addSolutionPanel(new QueueLenPanel(this, algorithm));
        algPanel.addSolutionPanel(new ResTimePanel(this, algorithm));
        algPanel.addSolutionPanel(new SystemRespTimePanel(this, algorithm));
        algPanel.addSolutionPanel(new UtilizationPanel(this, algorithm));
        //Added by ASHANKA START
        // for System Power
        algPanel.addSolutionPanel(new SysPowerPanel(this, algorithm));
        //Added by ASHANKA STOP
        selector.addSolutionPanel(algPanel);
      }
      jtp.add(selector);
    } else if (selector != null && data.isClosed()) {
      SolverAlgorithm algorithm = data.getAlgorithmType();
      AlgorithmPanel algPanel = new AlgorithmPanel(this, algorithm);
      algPanel.addSolutionPanel(new ThroughputPanel(this, algorithm));
      algPanel.addSolutionPanel(new QueueLenPanel(this, algorithm));     
      algPanel.addSolutionPanel(new ResTimePanel(this, algorithm));
      algPanel.addSolutionPanel(new SystemRespTimePanel(this, algorithm));
      algPanel.addSolutionPanel(new UtilizationPanel(this, algorithm));
      //Added by ASHANKA START
      // for System Power
      algPanel.addSolutionPanel(new SysPowerPanel(this, algorithm));
      //Added by ASHANKA STOP
      selector.addSolutionPanel(algPanel);
      /*
      selector.addSolutionPanel(throughput);
      selector.addSolutionPanel(queuelength);
      selector.addSolutionPanel(restimes);
      selector.addSolutionPanel(utilizations);
      //Added by ASHANKA START
      // for System Power
      selector.addSolutionPanel(systemPower);
      */
      //Added by ASHANKA STOP
      jtp.add(selector);
    } else if (selector != null) {
      SolverAlgorithm algorithm = data.getAlgorithmType();
      selector.addSolutionPanel(new ThroughputPanel(this, algorithm));
      selector.addSolutionPanel(new QueueLenPanel(this, algorithm));
      selector.addSolutionPanel(new ResTimePanel(this, algorithm));
      selector.addSolutionPanel(new SystemRespTimePanel(this, algorithm));
      selector.addSolutionPanel(new UtilizationPanel(this, algorithm));
      //Added by ASHANKA START
      // for System Power
      selector.addSolutionPanel(new SysPowerPanel(this, algorithm));
      //Added by ASHANKA STOP
      jtp.add(selector);
    } else {
      SolverAlgorithm alg = data.getAlgorithmType();
      ThroughputPanel throughput = new ThroughputPanel(this, alg);
      QueueLenPanel queuelength = new QueueLenPanel(this, alg);
      ResTimePanel restimes = new ResTimePanel(this, alg);
      SystemRespTimePanel systemreptime = new SystemRespTimePanel(this,alg);
      UtilizationPanel utilizations = new UtilizationPanel(this, alg);
      //Added by ASHANKA START
      //Introducing the new System Power Panel as a Tabbed Pane
      SysPowerPanel systemPower = new SysPowerPanel(this, alg);
      //Added by ASHANKA STOP
View Full Code Here

TOP

Related Classes of jmt.gui.exact.panels.SystemRespTimePanel

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.