Package com.gwtext.client.widgets.MessageBox

Examples of com.gwtext.client.widgets.MessageBox.ConfirmCallback


        if (!isAuthorOfNote()) {
            MessageBox.alert("Only the author of a note can delete it.");
            return;
        }

        MessageBox.confirm("Delete note?", "Are you sure you want to delete this note?" , new ConfirmCallback() {
            public void execute(String btnID) {
                if (btnID == null || !btnID.equalsIgnoreCase("yes")) {
                    return;
                }
            }
View Full Code Here


            MessageBox.alert("No parent for children", "You have selected the option to move children of retired class(es) under a new parent,<br />" +
                "but no parent was selected. Please select a parent.");
            return;
        }

        MessageBox.confirm("Retire class(es)?", getRetireConfirmMessage(), new ConfirmCallback() {
            public void execute(String btnID) {
                if (btnID.equalsIgnoreCase("yes")) {
                    UIUtil.mask(RetireClassPanel.this.getEl(), "Performing retire...", true, 10);
                    performRetire();
                }
View Full Code Here

    public void enquireOpenIdAssociation() {

        MessageBox.confirm("Associate OpenId with an existing user account", "Welcome! " +
                "The first time you sign in with your OpenId, we need to <b>associate it with an existing user account</b>. <br /><br />" +
                "Do you have an existing user account?", new ConfirmCallback() {

            public void execute(final String btnID) {

                final Boolean isLoginWithHttps = Application.get().getClientApplicationProperty(WebProtegePropertyName.HTTPS_ENABLED, false);;
                if (btnID.equalsIgnoreCase("yes")) {
View Full Code Here

            MessageBox.alert("No parents","Class " + UIUtil.getDisplayText(clsValue) + " has no parents. Please add at least on parent.");
            return;
        }


        MessageBox.confirm("Confirm", getMoveConfirmMessage(), new ConfirmCallback() {
            public void execute(String btnID) {
                if (btnID.equalsIgnoreCase("yes")) {
                    UIUtil.mask(ChangeParentPanel.this.getEl(), "Performing change in hierarchy", true, 10);
                    performMove(clsName, UIUtil.getStringCollection(parentsToAdd),
                            UIUtil.getStringCollection(parentsToRemove), reasonForChange);
View Full Code Here

TOP

Related Classes of com.gwtext.client.widgets.MessageBox.ConfirmCallback

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.