Package com.python.pydev.refactoring.wizards

Examples of com.python.pydev.refactoring.wizards.IRefactorRenameProcess


            process = new ArrayList<IRefactorRenameProcess>();

            if (pointers.length == 0) {
                // no definition found
                IRefactorRenameProcess p = RefactorProcessFactory.getRenameAnyProcess();
                process.add(p);

            } else {
                for (ItemPointer pointer : pointers) {
                    if (pointer.definition == null) {
                        status.addFatalError("The definition found is not valid. " + pointer);
                    }
                    if (DEBUG) {
                        System.out.println("Found definition:" + pointer.definition);
                    }

                    IRefactorRenameProcess p = RefactorProcessFactory.getProcess(pointer.definition, request);
                    if (p == null) {
                        status.addFatalError("Refactoring Process not defined: the definition found is not valid:"
                                + pointer.definition);
                        return status;
                    }
View Full Code Here

TOP

Related Classes of com.python.pydev.refactoring.wizards.IRefactorRenameProcess

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.