Package org.eclipse.dltk.internal.ui.refactoring.actions

Examples of org.eclipse.dltk.internal.ui.refactoring.actions.RefactoringStarter


    ExtractMethodRefactoring refactoring = new ExtractMethodRefactoring(
        SelectionConverter.getInputAsCompilationUnit(editor),
        ((ITextSelection) selection).getOffset(),
        ((ITextSelection) selection).getLength());
    try {
      new RefactoringStarter().activate(refactoring,
          new ExtractMethodWizard(refactoring), getShell(),
          RefactoringMessages.ExtractMethod_name, false);
    } catch (ModelException e) {
      ExceptionHandler.handle(e, RefactoringMessages.ExtractMethod_name,
          RefactoringMessages.RenamePHPElementAction_exception);
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.ui.refactoring.actions.RefactoringStarter

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.