Examples of InputDialogWithCheckbox


Examples of org.erlide.wrangler.refactoring.codeinspection.ui.InputDialogWithCheckbox

    private void handleLongFunctions(final IErlSelection wranglerSelection,
            final Shell shell) {
        try {
            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(
                            "long_functions_in_dirs_eclipse", "ixi", linesVal,
                            wranglerSelection.getSearchPath(),
View Full Code Here

Examples of org.erlide.wrangler.refactoring.codeinspection.ui.InputDialogWithCheckbox

    private void handleNested(final IErlSelection wranglerSelection, final Shell shell,
            final String type) {
        try {
            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(
                            "nested_exprs_in_dirs_eclipse", "iaxi", nestedVal, type,
                            wranglerSelection.getSearchPath(),
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.