Package org.aavso.tools.vstar.ui.dialog

Examples of org.aavso.tools.vstar.ui.dialog.MultiEntryComponentDialog


        .get("WWZ_PARAMETERS_PERIOD_STEP"), null, null, currDeltaPeriod);

    List<ITextComponent<?>> fields = createNumberFields(minPeriodField,
        maxPeriodField, deltaPeriodField);

    MultiEntryComponentDialog paramDialog = new MultiEntryComponentDialog(
        LocaleProps.get("WWZ_PARAMETERS_DLG_TITLE"), fields);

    if (!paramDialog.isCancelled()) {
      double minPeriod, maxPeriod, deltaPeriod, decay, timeDivisions;

      currMinPeriod = minPeriod = minPeriodField.getValue();
      currMaxPeriod = maxPeriod = maxPeriodField.getValue();
      currDeltaPeriod = deltaPeriod = deltaPeriodField.getValue();
View Full Code Here


      currLoFreq = periodAnalysisAlgorithm.getLoFreqValue();
      currHiFreq = periodAnalysisAlgorithm.getHiFreqValue();
      currResolution = periodAnalysisAlgorithm.getResolutionValue();
    }

    MultiEntryComponentDialog paramDialog = createParamDialog();

    if (!paramDialog.isCancelled()) {
      currLoFreq = loFreqField.getValue();
      currHiFreq = hiFreqField.getValue();
      currResolution = resolutionField.getValue();

      periodAnalysisAlgorithm.setLoFreqValue(currLoFreq);
View Full Code Here

    resolutionField = new DoubleField(LocaleProps
        .get("PERIOD_ANALYSIS_PARAMETERS_RESOLUTION_TITLE"), 0.0, null, currResolution);
    fields.add(resolutionField);

    return new MultiEntryComponentDialog(LocaleProps
        .get("PERIOD_ANALYSIS_PARAMETERS_DLG_TITLE"), fields);
  }
View Full Code Here

        currDeltaFreq);

    List<ITextComponent<?>> fields = createNumberFields(minFreqField,
        maxFreqField, deltaFreqField);

    MultiEntryComponentDialog paramDialog = new MultiEntryComponentDialog(
        LocaleProps.get("WWZ_PARAMETERS_DLG_TITLE"), fields);

    if (!paramDialog.isCancelled()) {
      double minFreq, maxFreq, deltaFreq, decay, timeDivisions;

      currMinFreq = minFreq = minFreqField.getValue();
      currMaxFreq = maxFreq = maxFreqField.getValue();
      currDeltaFreq = deltaFreq = deltaFreqField.getValue();
View Full Code Here

    assert newStarMessage != null;

    periodAnalysisAlgorithm = new TSDcDft(obs,
        DcDftAnalysisType.PERIOD_RANGE);

    MultiEntryComponentDialog paramDialog = createParamDialog();

    if (!paramDialog.isCancelled()) {
      currLoPeriod = loPeriodField.getValue();
      currHiPeriod = hiPeriodField.getValue();
      currResolution = resolutionField.getValue();

      periodAnalysisAlgorithm.setLoPeriodValue(currLoPeriod);
View Full Code Here

    resolutionField = new DoubleField(LocaleProps
        .get("PERIOD_ANALYSIS_PARAMETERS_RESOLUTION_TITLE"), 0.0, null, currResolution);
    fields.add(resolutionField);

    return new MultiEntryComponentDialog(LocaleProps
        .get("PERIOD_ANALYSIS_PARAMETERS_DLG_TITLE"), fields);
  }
View Full Code Here

        } else {
          // Request a URL from the user.
          TextField urlField = new TextField("URL");
          Checkbox additiveLoadCheckbox = new Checkbox(
              "Add to current?", false);
          MultiEntryComponentDialog urlDialog = new MultiEntryComponentDialog(
              "Enter URL", urlField, additiveLoadCheckbox);
          if (!urlDialog.isCancelled()
              && !urlField.getValue().matches("^\\s*$")) {
            String urlStr = urlField.getValue();
            obSourcePlugin.setAdditive(additiveLoadCheckbox.getValue());
            URL url = new URL(urlStr);
            streams.add(url.openStream());
View Full Code Here

    // binSet);

    IntegerField binsField = new IntegerField("Bins", 0, 50, bins);
    fields.add(binsField);

    MultiEntryComponentDialog dlg = new MultiEntryComponentDialog(
        "AoV Parameters", fields);

    cancelled = dlg.isCancelled();

    if (!cancelled) {

      try {
        bins = binsField.getValue();
View Full Code Here

      // Get magnitude shift.
      List<ITextComponent<?>> inputFields = new ArrayList<ITextComponent<?>>();
      DoubleField magDeltaField = new DoubleField("Magnitude Change",
          null, null, magDelta);
      inputFields.add(magDeltaField);
      MultiEntryComponentDialog magDeltaDlg = new MultiEntryComponentDialog(
          "Magnitude Change Input", inputFields);

      // Create a new series with the adjusted magnitude.
      if (!magDeltaDlg.isCancelled()) {
        magDelta = magDeltaField.getValue();

        SeriesType type = seriesSelector.getSeries();
        List<ValidObservation> obs = seriesInfo.getObservations(type);
View Full Code Here

          period);
      fields.add(periodField);
      DoubleField magField = new DoubleField("Mean Apparent Mag", null,
          null, magnitude);
      fields.add(magField);
      MultiEntryComponentDialog inputDlg = new MultiEntryComponentDialog(
          "Inputs", fields);

      if (!inputDlg.isCancelled()) {
        period = periodField.getValue();
        magnitude = magField.getValue();
        String varType = typesField.getValue();

        Double absMagnitude = null;
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.dialog.MultiEntryComponentDialog

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.