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

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


        String defaultName = Mediator.getInstance()
            .getDocumentManager().getNextUntitledFilterName();
        List<ITextComponent<String>> fields = new ArrayList<ITextComponent<String>>();
        fields.add(new TextField("Name", defaultName, false, false,
            TextField.Kind.LINE));
        final TextDialog nameDlg = new TextDialog("Filter Name", fields);

        // Create an observation filter message and notify listeners.
        IFilterDescription desc = new IFilterDescription() {

          @Override
          public boolean isParsable() {
            return false;
          }

          @Override
          public String getFilterName() {
            return nameDlg.getTextStrings().get(0);
          }

          @Override
          public String getFilterDescription() {
            // Return a machine-readable (able to be parsed)
View Full Code Here


      String msg = binningResult.createAnovaText();
     
      List<ITextComponent<String>> fields = new ArrayList<ITextComponent<String>>();
      fields.add(new TextField("ANOVA", msg, TextField.Kind.AREA));
      new TextDialog(
          "ANOVA for " + binningResult.getSeries() + " series",
          fields);
    }
  }
View Full Code Here

    // false, TextField.Kind.LINE);
    // resultFields[3] = new TextField("Maximum Distance", String
    // .format(otherFmt + " parsecs", distanceMax), true,
    // false, TextField.Kind.LINE);

    new TextDialog("Distance", resultFields);
  }
View Full Code Here

        obsCodes = wrap(obsCodes)// Force lines to wrap ...
        seriesFields.add(new TextField(type.getDescription(), obsCodes,
            Kind.AREA));
      }
    }
    new TextDialog("Observers By Series", seriesFields);
  }
View Full Code Here

TOP

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

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.