Package org.erlide.wrangler.refactoring.codeinspection.ui

Examples of org.erlide.wrangler.refactoring.codeinspection.ui.InputDialogWithCheckbox.open()


            CodeInspectionViewsManager.hideView(LONG_FUNCTIONS);
            // call inputdialog
            final InputDialogWithCheckbox dialog = new InputDialogWithCheckbox(shell,
                    "Search for long functions", "Number of lines:",
                    "Search in the project", "", new IntegerInputValidator());
            if (Window.OK == dialog.open()) {
                final int linesVal = Integer.parseInt(dialog.getValue());
                final boolean inProject = dialog.isCheckBoxChecked();
                RpcResult res = null;
                if (inProject) {
                    res = WranglerBackendManager.getRefactoringBackend().callInspection(
View Full Code Here


            CodeInspectionViewsManager.hideView(NESTED_EXPRESSIONS + type);
            // call inputdialog
            final InputDialogWithCheckbox dialog = new InputDialogWithCheckbox(shell,
                    "Search for nested expression", "Nest level:",
                    "Search in the project", "", new IntegerInputValidator());
            if (Window.OK == dialog.open()) {
                final int nestedVal = Integer.parseInt(dialog.getValue());
                final boolean inProject = dialog.isCheckBoxChecked();
                RpcResult res = null;
                if (inProject) {
                    res = WranglerBackendManager.getRefactoringBackend().callInspection(
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.