Method creating a waiting dialog

@return a {@link WaitDialogStatements}
434060
public WaitDialogStatements waitDialog()
	{
		Integer id = Session.get().nextSequenceValue();

		JsStatement statement = new JsStatement();
		statement.append("$.ui.dialog.wiquery.waitDialog(");
		statement.append(id.toString() + ", ");
		statement.append(DialogUtilsLanguages.getDialogUtilsLiteral(DialogUtilsLanguages
			.getDialogUtilsLanguages(getLocale())) + ", ");
		statement.append(JsUtils.quotes(RequestCycle.get().urlFor(WAIT_IMG, null)) + ")");

		WaitDialogStatements wait = new WaitDialogStatements();
		wait.setOpen(statement);
		wait.setClose(new JsStatement().$(null, "#dialog" + id).chain("dialog",
			JsUtils.quotes("close")));

		return wait;
	}
280657
@Override
    public PoolablePreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException {
        return new PoolablePreparedStatement(internalConn.prepareStatement(sql, columnIndexes), this, null);
    }
1088637
protected void buildAndShowDialog(@Nullable Bundle savedInstanceState) {
        final AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(this);
        final String title = dialogConfiguration.title();
        if (title != null) {
            dialogBuilder.setTitle(title);
        }
        final int iconResourceId = dialogConfiguration.resIcon();
        if (iconResourceId != ACRAConstants.DEFAULT_RES_VALUE) {
            dialogBuilder.setIcon(iconResourceId);
        }
        dialogBuilder.setView(buildCustomView(savedInstanceState))
                .setPositiveButton(dialogConfiguration.positiveButtonText(), this)
                .setNegativeButton(dialogConfiguration.negativeButtonText(), this);

        mDialog = dialogBuilder.create();
        mDialog.setCanceledOnTouchOutside(false);
        mDialog.show();
    }
491920
public List<Statement> getAllStatements() {
        final List<Statement> ret = new LinkedList<Statement>();
        for (final StatementGroup sg : statementGroups) {
            ret.addAll(sg.getAllStatements());
        }
        return ret;
    }
1028481
public static JInternalDialog createDialog (JFrame frame, JPanel content)
    {
        return createDialog(frame, null, content);
    }
97811
public TCConversationRequest createConversation(Dialog d, boolean dialogTermitationPermission) {
        if (d == null) {
            throw new NullPointerException("Dialog is null");
        }
        TCConversationRequestImpl tccr = new TCConversationRequestImpl(dialogTermitationPermission);
        tccr.setDialog(d);
        tccr.setOriginatingAddress(d.getLocalAddress());

        return tccr;
    }
45656
protected String createWidgetBlockEnd() {

        StringBuffer result = new StringBuffer(8);
        result.append(createWidgetTableEnd());
        result.append(dialogBlockEnd());
        return result.toString();
    }
146509
public ZapReply nextReply(boolean wait)
    {
        if (!repliesEnabled) {
            System.out.println("ZAuth: replies are disabled. Please use replies(true);");
            return null;
        }
        return ZapReply.recv(replies, wait);
    }
847061
public CmsSelectBox createViewSelectorForGalleryDialog() {

        List<CmsElementViewInfo> elementViews = m_controller.getData().getElementViews();
        if (elementViews.size() <= 1) {
            return null;
        }
        CmsUUID currentView = m_controller.getElementView().getElementViewId();
        Map<String, String> options = Maps.newHashMap();
        for (CmsElementViewInfo view : elementViews) {
            options.put("" + view.getElementViewId(), view.getTitle());
        }
        CmsSelectBox result = new CmsSelectBox(options);
        result.setFormValueAsString(currentView.toString());
        result.addValueChangeHandler(new ValueChangeHandler<String>() {

            public void onValueChange(ValueChangeEvent<String> event) {

                m_editor.getAdd().setActive(false);
                CmsElementViewInfo newValue = m_controller.getView(event.getValue());
                setElementView(newValue, new Runnable() {

                    public void run() {

                        m_editor.getAdd().setActive(true);
                    }
                });
            }
        });
        result.getElement().getStyle().setWidth(250, Unit.PX);

        return result;
    }
1300461
public TCContinueRequest createContinue(Dialog d) {
        if (d == null) {
            throw new NullPointerException("Dialog is null");
        }
        TCContinueRequestImpl tccr = new TCContinueRequestImpl();
        tccr.setDialog(d);
        tccr.setOriginatingAddress(d.getLocalAddress());

        return tccr;
    }
492304
public PreparedStatementCreator count(final Dialect dialect) {
        return new PreparedStatementCreator() {
            public PreparedStatement createPreparedStatement(Connection con)
            throws SQLException {
                return getPreparedStatementCreator()
                .setSql(dialect.createCountSelect(builder.toString()))
                .createPreparedStatement(con);
            }
        };
    }
573188
@Override
    public Observable<ComapiResult<String>> createFbOptInState() {

        final String token = getToken();

        if (sessionController.isCreatingSession()) {
            return getTaskQueue().createFbOptInState();
        } else if (TextUtils.isEmpty(token)) {
            return Observable.error(getSessionStateErrorDescription());
        } else {
            return doCreateFbOptInState(token);
        }
    }
494027
@Override
    public Statement createStatement() throws SQLException
    {
        checkClosed();
        try
        {
            return new JDBC4Statement(this);
        }
        catch(Exception x)
        {
            throw SQLError.get(x);
        }
    }
539807
public static WaitingDialog showDialog(WindowBasedTextGUI textGUI, String title, String text) {
        WaitingDialog waitingDialog = createDialog(title, text);
        waitingDialog.showDialog(textGUI, false);
        return waitingDialog;
    }
392722
public String getCountStatement()
    {
        StringBuilder  stmt = new StringBuilder();
        stmt.append( _SELECT_COUNT_ ).append( _fromClause ).append( _whereClause );

        return stmt.toString();
    }
925957
public List<String> getSQLStatements() {
        List<String> sqlStatements = new ArrayList<>(plannedStatements.size());
        for (AdHocPlannedStatement plannedStatement : plannedStatements) {
            sqlStatements.add(new String(plannedStatement.sql, Constants.UTF8ENCODING));
        }
        return sqlStatements;
    }
348985
protected String buildAjaxWaitMessage() {

        StringBuffer html = new StringBuffer(512);
        html.append("<table border='0' style='vertical-align:middle; height: 150px;'>\n");
        html.append("<tr><td width='40' align='center' valign='middle'><img src='");
        html.append(CmsWorkplace.getSkinUri());
        html.append("commons/wait.gif' id='ajaxreport-img' width='32' height='32' alt=''></td>\n");
        html.append("<td valign='middle'><span id='ajaxreport-txt' style='color: #000099; font-weight: bold;'>\n");
        html.append(key(org.opencms.workplace.Messages.GUI_AJAX_REPORT_WAIT_0));
        html.append("</span><br></td></tr></table>\n");
        return html.toString();
    }