Package org.eclipse.ltk.core.refactoring.participants

Examples of org.eclipse.ltk.core.refactoring.participants.DeleteRefactoring


  }

  @SuppressWarnings("restriction")
  public void startDeleteRefactoring(final Object[] elements,
      final Shell shell) throws CoreException {
    final DeleteRefactoring refactoring = new DeleteRefactoring(
        new ScriptDeleteProcessor(elements));
    DeleteUserInterfaceManager.getDefault().getStarter(refactoring)
        .activate(refactoring, shell, false);
  }
View Full Code Here


   * (non-Javadoc)
   *
   * @see org.eclipse.jface.wizard.Wizard#needsProgressMonitor()
   */
  public boolean needsProgressMonitor() {
    DeleteRefactoring refactoring = (DeleteRefactoring) getRefactoring();
    RefactoringProcessor processor = refactoring.getProcessor();
    if (processor instanceof ScriptDeleteProcessor) {
      return ((ScriptDeleteProcessor) processor).needsProgressMonitor();
    }
    return super.needsProgressMonitor();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ltk.core.refactoring.participants.DeleteRefactoring

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.