Examples of showDialog()


Examples of org.ofbiz.pos.screen.PosScreen.showDialog()

        PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
        PosScreen.currentScreen.getOutput().print(UtilProperties.getMessage(PosTransaction.resource,"PosProcessing",Locale.getDefault()));

        if (trans.isEmpty()) {
            PosScreen newPos = pos.showPage("pospanel");
            newPos.showDialog("dialog/error/noitems");
        } else if (trans.getTotalDue().compareTo(BigDecimal.ZERO) > 0) {
            pos.showDialog("dialog/error/notenoughfunds");
        } else {
            // manual locks (not secured; will be unlocked on clear)
            pos.getInput().setLock(true);
View Full Code Here

Examples of org.openstreetmap.josm.gui.ExtendedDialog.showDialog()

                        tr("Cancel and return to the previous dialog"),
                        tr("Ignore warning and install style anyway")});
                    dlg.setContent("<html>" + tr("Some entries have unmet dependencies:") +
                            "<br>" + Utils.join("<br>", messages) + "</html>");
                    dlg.setIcon(JOptionPane.WARNING_MESSAGE);
                    if (dlg.showDialog().getValue() != 2)
                        return;
                }
            }
            activeSourcesModel.addExtendedSourceEntries(sources);
        }
View Full Code Here

Examples of org.openstreetmap.josm.gui.dialogs.LatLonDialog.showDialog()

            return;

        LatLonDialog dialog = new LatLonDialog(Main.parent, tr("Move Node..."), ht("/Action/MoveNode"));
        Node n = (Node) getCurrentDataSet().getSelectedNodes().toArray()[0];
        dialog.setCoordinates(n.getCoor());
        dialog.showDialog();
        if (dialog.getValue() != 1)
            return;

        LatLon coordinates = dialog.getCoordinates();
        if (coordinates == null)
View Full Code Here

Examples of org.openstreetmap.josm.gui.download.DownloadObjectDialog.showDialog()

    @Override
    public void actionPerformed(ActionEvent e) {

        DownloadObjectDialog dialog = new DownloadObjectDialog();
        if (dialog.showDialog().getValue() != dialog.getContinueButtonIndex()) return;

        processItems(dialog.isNewLayerRequested(), dialog.getOsmIds(), dialog.isReferrersRequested(), dialog.isFullRelationRequested());
    }

    /**
 
View Full Code Here

Examples of org.parosproxy.paros.view.OptionsDialog.showDialog()

  }
 
  public void options() {
      OptionsDialog dialog = view.getOptionsDialog("Options");
      dialog.initParam(model.getOptionsParam());
    int result = dialog.showDialog(false);
    if (result == JOptionPane.OK_OPTION) {
        try {
                model.getOptionsParam().getConfig().save();
            } catch (ConfigurationException e) {
                e.printStackTrace();
View Full Code Here

Examples of org.parosproxy.paros.view.SessionDialog.showDialog()

  }
 
  public void properties() {
      SessionDialog dialog = view.getSessionDialog("Session Properties");
      dialog.initParam(model.getSession());
      dialog.showDialog(false);
//    view.getMainFrame().setTitle(Constant.PROGRAM_NAME + " " + Constant.PROGRAM_VERSION + " - " + model.getSession().getSessionName());
  }

    /* (non-Javadoc)
     * @see org.parosproxy.paros.model.SessionListener#sessionOpened(java.lang.Exception)
View Full Code Here

Examples of org.pentaho.reporting.designer.core.status.ExceptionDialog.showDialog()

    }
    else
    {
      exceptionDialog = new ExceptionDialog();
    }
    exceptionDialog.showDialog();
    return false;
  }
}
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.GridSizeDialog.showDialog()

    spinnerDialog.setUnit(WorkspaceSettings.getInstance().getUnit());
    spinnerDialog.setGridDivisionSize(WorkspaceSettings.getInstance().getGridDivisions());
    spinnerDialog.setGridSize(WorkspaceSettings.getInstance().getGridSize());

    if (spinnerDialog.showDialog())
    {
      WorkspaceSettings.getInstance().setUnit(spinnerDialog.getUnit());
      WorkspaceSettings.getInstance().setGridSize(spinnerDialog.getGridSize());
      WorkspaceSettings.getInstance().setGridDivisions(spinnerDialog.getGridDivisionSize());
    }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.GuideLineDialog.showDialog()

      }

      spinnerDialog.setUnit(WorkspaceSettings.getInstance().getUnit());
      spinnerDialog.setPosition(guideLine.getPosition());

      if (spinnerDialog.showDialog())
      {
        final GuideLine newGuideLine = new GuideLine(spinnerDialog.getPosition(), guideLine.isActive());
        linealModel.updateGuideLine(index, newGuideLine);
        this.guideLine = newGuideLine;
      }
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.filechooser.CommonFileChooser.showDialog()

     * Invoked when an action occurs.
     */
    public void actionPerformed(final ActionEvent e)
    {
      final CommonFileChooser chooser = FileChooserService.getInstance().getFileChooser("drilldown-profiles");
      if (chooser.showDialog(DrillDownProfileEditor.this, JFileChooser.OPEN_DIALOG) == false)
      {
        return;
      }
      final File selectedFile = chooser.getSelectedFile();
      if (selectedFile != null)
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.