Examples of showDialog()


Examples of uk.ac.man.cs.mig.coode.owlviz.ui.ClassRadiusDialog.showDialog()

  /**
   * Invoked when an action occurs.
   */
  public void actionPerformed(ActionEvent e) {
    ClassRadiusDialog dlg = new ClassRadiusDialog(this.owner, true);
    int retVal = dlg.showDialog();
    if(retVal == OKCancelDialog.OPTION_APPROVE) {
      Object selObj = tab.getSelectionModel().getSelectedClass();
      if(selObj != null) {
        if(selObj instanceof OWLNamedClass) {
          int radius = dlg.getClassRadius();
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.export.ExportDialog.showDialog()

        if (globalContext.getGlobalConfig().getBooleanProperty(DroidGlobalProperty.CSV_EXPORT_ROW_PER_FORMAT)) {
            exportOptions.setExportOptions(ExportOptions.ONE_ROW_PER_FORMAT);
        } else {
            exportOptions.setExportOptions(ExportOptions.ONE_ROW_PER_FILE);
        }
        exportOptions.showDialog();
        if (exportOptions.isApproved()) {
            int response = exportFileChooser.showSaveDialog(this);
            if (response == JFileChooser.APPROVE_OPTION) {
                List<String> profileIds = new ArrayList<String>();
                profileIds.addAll(exportOptions.getSelectedProfileIds());
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.report.ReportProgressDialog.showDialog()

           
           
            action.setProgressDialog(reportProgressDialog);
            action.setViewDialog(reportViewDialog);
            action.execute();
            reportProgressDialog.showDialog();
        }
    }

    private void jFilterOnCheckBoxActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jFilterOnCheckBoxActionPerformed
        setFilterStatus(jFilterOnCheckBox.isSelected());
View Full Code Here

Examples of weka.gui.ListSelectorDialog.showDialog()

    JList                 list;
    int                   result;
   
    list   = new JList(getAttributes());
    dialog = new ListSelectorDialog(null, list);
    result = dialog.showDialog();
   
    if (result != ListSelectorDialog.APPROVE_OPTION)
      return;
   
    atts = list.getSelectedValues();
View Full Code Here

Examples of weka.gui.PropertySelectorDialog.showDialog()

  protected int selectProperty() {
   
    final PropertySelectorDialog jd = new PropertySelectorDialog(null,
            m_Exp.getResultProducer());
    jd.setLocationRelativeTo(this);
    int result = jd.showDialog();
    if (result == PropertySelectorDialog.APPROVE_OPTION) {
      System.err.println(Messages.getInstance().getString("GeneratorPropertyIteratorPanel_SelectProperty_Error_Text_First"));
      PropertyNode [] path = jd.getPath();
      Object value = path[path.length - 1].value;
      PropertyDescriptor property = path[path.length - 1].property;
View Full Code Here

Examples of weka.gui.ViewerDialog.showDialog()

   
    final int classIndex = m_AttVisualizePanel.getColoringIndex();
    copy   = new Instances(m_Instances);
    copy.setClassIndex(classIndex);
    dialog = new ViewerDialog(null);
    result = dialog.showDialog(copy);
    if (result == ViewerDialog.APPROVE_OPTION) {
      try {
        addUndoPoint();
      }
      catch (Exception e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.