org.eclipse.xtext.common.types.ui.refactoring
Class JdtRenameSupport

java.lang.Object
  extended by org.eclipse.xtext.common.types.ui.refactoring.JdtRenameSupport
All Implemented Interfaces:
IRenameSupport

public class JdtRenameSupport
extends java.lang.Object
implements IRenameSupport

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
static class JdtRenameSupport.Factory
           
 
Constructor Summary
JdtRenameSupport()
           
JdtRenameSupport(org.eclipse.jdt.core.refactoring.descriptors.RenameJavaElementDescriptor renameDescriptor)
          Deprecated. Use DI and initialize(JdtRefactoringContext, RenameJavaElementDescriptor) instead.
 
Method Summary
protected  org.eclipse.swt.widgets.Shell getShell()
           
protected  void initialize(JdtRefactoringContext renameParticipantContext, org.eclipse.jdt.core.refactoring.descriptors.RenameJavaElementDescriptor renameDescriptor)
           
 void startDirectRefactoring()
           
 void startRefactoringWithDialog(boolean previewOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdtRenameSupport

@Deprecated
public JdtRenameSupport(org.eclipse.jdt.core.refactoring.descriptors.RenameJavaElementDescriptor renameDescriptor)
                 throws org.eclipse.core.runtime.CoreException
Deprecated. Use DI and initialize(JdtRefactoringContext, RenameJavaElementDescriptor) instead.

Throws:
org.eclipse.core.runtime.CoreException

JdtRenameSupport

public JdtRenameSupport()
Method Detail

initialize

protected void initialize(JdtRefactoringContext renameParticipantContext,
                          org.eclipse.jdt.core.refactoring.descriptors.RenameJavaElementDescriptor renameDescriptor)
                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

startRefactoringWithDialog

public void startRefactoringWithDialog(boolean previewOnly)
                                throws java.lang.InterruptedException
Specified by:
startRefactoringWithDialog in interface IRenameSupport
Throws:
java.lang.InterruptedException

startDirectRefactoring

public void startDirectRefactoring()
                            throws java.lang.InterruptedException
Specified by:
startDirectRefactoring in interface IRenameSupport
Throws:
java.lang.InterruptedException

getShell

protected org.eclipse.swt.widgets.Shell getShell()