|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.ui.refactoring.RefactoringUI
Central access point to access resources managed by the refactoring ui plug-in.
Note: this class is not intended to be extended by clients.
Method Summary | |
static Dialog |
createRefactoringStatusDialog(RefactoringStatus status,
Shell parent,
String windowTitle,
boolean backButton)
Creates a dialog to present a RefactoringStatus to the user. |
static PerformChangeOperation |
createUIAwareChangeOperation(Change change)
Creates a special perform change operations that knows how to batch undo operations in open editors into one undo object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Dialog createRefactoringStatusDialog(RefactoringStatus status, Shell parent, String windowTitle, boolean backButton)
RefactoringStatus
to the user. The following values are
returned from the dialogs open method:
IDialogConstants#OK_ID
:
if the user has pressed the continue button.IDialogConstants#CANCEL_ID
:
if the user has pressed the cancel button.IDialogConstants#BACK_ID
:
if the user has pressed the back button.
status
- the status to presentparent
- the parent shell of the dialog. May be null
if the dialog is a top-level dialogwindowTitle
- the dialog's window titlebackButton
- if true
the dialog will contain a back button;
otherwise no back button will be present.
public static PerformChangeOperation createUIAwareChangeOperation(Change change)
IRewriteTarget
.
change
- the change to perform
IRewriteTarget
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |