Package org.aavso.tools.vstar.ui.mediator

Examples of org.aavso.tools.vstar.ui.mediator.AnalysisType


   * Returns the action listener to be invoked for View->Phase Plot
   */
  public ActionListener createPhasePlotListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        AnalysisType type = mediator
            .changeAnalysisType(AnalysisType.PHASE_PLOT);
        if (type == AnalysisType.PHASE_PLOT) {
          // It may be that no phase plot has been created because the
          // phase plot dialog was cancelled.
          setPhasePlotViewMenuItemState(true);
View Full Code Here


    for (JMenuItem item : analysisMenuItems) {
      item.setEnabled(state);
    }

    AnalysisType type = mediator.getAnalysisType();

    switch (type) {
    case RAW_DATA:
      setRawDataViewMenuItemState(true);
      setPhasePlotViewMenuItemState(false);
View Full Code Here

  @Override
  public void invoke() {
    Mediator mediator = Mediator.getInstance();

    if (!mediator.getNewStarMessageList().isEmpty()) {
      AnalysisType type = mediator.getAnalysisType();

      ObservationAndMeanPlotModel model = mediator
          .getObservationPlotModel(type);

      BinningResult binningResult = model.getBinningResult();
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.mediator.AnalysisType

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.