org.eclipse.xtext.ui.refactoring.ui
Class RenameRefactoringExecuter.CheckConditionsAndCreateChangeRunnable
java.lang.Object
org.eclipse.xtext.ui.refactoring.ui.RenameRefactoringExecuter.CheckConditionsAndCreateChangeRunnable
- All Implemented Interfaces:
- org.eclipse.core.resources.IWorkspaceRunnable
- Enclosing class:
- RenameRefactoringExecuter
protected static class RenameRefactoringExecuter.CheckConditionsAndCreateChangeRunnable
- extends java.lang.Object
- implements org.eclipse.core.resources.IWorkspaceRunnable
Method Summary |
org.eclipse.ltk.core.refactoring.PerformChangeOperation |
getPerformChangeOperation()
|
void |
run(org.eclipse.core.runtime.IProgressMonitor pm)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor. |
protected boolean |
showStatusDialog(org.eclipse.ltk.core.refactoring.RefactoringStatus status)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenameRefactoringExecuter.CheckConditionsAndCreateChangeRunnable
public RenameRefactoringExecuter.CheckConditionsAndCreateChangeRunnable(org.eclipse.swt.widgets.Shell shell,
org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring refactoring)
run
public void run(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException
- Description copied from interface:
org.eclipse.core.resources.IWorkspaceRunnable
- Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
Implementors of this method should check the progress monitor
for cancellation when it is safe and appropriate to do so. The cancellation
request should be propagated to the caller by throwing
OperationCanceledException
.
- Specified by:
run
in interface org.eclipse.core.resources.IWorkspaceRunnable
- Parameters:
pm
- a progress monitor, or null
if progress
reporting and cancellation are not desired
- Throws:
org.eclipse.core.runtime.CoreException
- if this operation fails.
showStatusDialog
protected boolean showStatusDialog(org.eclipse.ltk.core.refactoring.RefactoringStatus status)
getPerformChangeOperation
public org.eclipse.ltk.core.refactoring.PerformChangeOperation getPerformChangeOperation()