Examples of showSimple()


Examples of org.antlr.xjlib.appkit.utils.XJAlert.showSimple()

        } else {
            if(delegate == null || delegate.codeGenerateDisplaySuccess()) {
                if(AWPrefs.isAlertGenerateCodeSuccess()) {
                    XJAlert alert = XJAlert.createInstance();
                    alert.setDisplayDoNotShowAgainButton(true);
                    alert.showSimple(window.getJavaContainer(), "Success", "The grammar has been successfully generated in path:\n"+getOutputPath());
                    AWPrefs.setAlertGenerateCodeSuccess(!alert.isDoNotShowAgain());
                }
            }
            if(delegate != null) {
                delegate.codeGenerateDidComplete();
View Full Code Here

Examples of org.antlr.xjlib.appkit.utils.XJAlert.showSimple()

        window.hideProgress();
        if(result.isSuccess()) {
            if(AWPrefs.isAlertCheckGrammarSuccess()) {
                XJAlert alert = XJAlert.createInstance();
                alert.setDisplayDoNotShowAgainButton(true);
                alert.showSimple(window.getJavaContainer(), "Success", "Check Grammar succeeded.");
                AWPrefs.setAlertCheckGrammarSuccess(!alert.isDoNotShowAgain());
            }
        } else {
            if(result.getErrorCount() > 0) {
                XJAlert.display(window.getJavaContainer(), "Error", "Check Grammar reported some errors:\n"+result.getFirstErrorMessage()+"\nConsult the console for more information.");
View Full Code Here

Examples of org.antlr.xjlib.appkit.utils.XJAlert.showSimple()

        button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                if(AWPrefs.isAlertInterpreterLimitation()) {
                    XJAlert alert = XJAlert.createInstance();
                    alert.setDisplayDoNotShowAgainButton(true);
                    alert.showSimple(getContainer(), "Warning", "The interpreterTab does not run actions nor evaluate syntactic predicates." +
                            "\nUse the debugger if you want to use these ANTLR features.");
                    AWPrefs.setAlertInterpreterLimitation(!alert.isDoNotShowAgain());
                }
                StatisticsAW.shared().recordEvent(StatisticsAW.EVENT_INTERPRETER_BUTTON);
                interpret();
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.