public boolean proceed(RefactoringStatus status) { final Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, fParent, fTitle, false); final int[] result= new int[1]; Runnable r= new Runnable() { public void run() { result[0]= dialog.open(); } }; fParent.getDisplay().syncExec(r); return result[0] == IDialogConstants.OK_ID; } public void stopped(final RefactoringStatus status) {
public boolean proceed(RefactoringStatus status) { final Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, fParent, fTitle, false); final int[] result= new int[1]; Runnable r= new Runnable() { public void run() { result[0]= dialog.open(); } }; fParent.getDisplay().syncExec(r); return result[0] == IDialogConstants.OK_ID; } public void stopped(final RefactoringStatus status) {
/** * @param status the status to show * @return <code>true</code> iff the operation should be cancelled */ private boolean showStatusDialog(RefactoringStatus status) { Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, fParent, fRefactoring.getName(), false); return dialog.open() == IDialogConstants.CANCEL_ID; } }
/** * @param status the status to show * @return <code>true</code> iff the operation should be cancelled */ private boolean showStatusDialog(RefactoringStatus status) { Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, fParent, fRefactoring.getName(), false); return dialog.open() == IDialogConstants.CANCEL_ID; } }
/** * @param status the status to show * @return <code>true</code> iff the operation should be cancelled */ private boolean showStatusDialog(RefactoringStatus status) { Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, fParent, fRefactoring.getName(), false); return dialog.open() == IDialogConstants.CANCEL_ID; } }
protected boolean showStatusDialog(RefactoringStatus status) { Dialog dialog = RefactoringUI.createRefactoringStatusDialog(status, shell, refactoring.getName(), false); return dialog.open() == IDialogConstants.CANCEL_ID; }
private int showStatus(RefactoringStatus status) { if (!status.hasError()) return Window.OK; Shell shell= PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, shell, "", false); //$NON-NLS-1$ return dialog.open(); }
private int showStatus(RefactoringStatus status) { if (!status.hasError()) return Window.OK; Shell shell= PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, shell, "", false); //$NON-NLS-1$ return dialog.open(); }
private int showStatus(RefactoringStatus status) { if (!status.hasError()) return Window.OK; Shell shell= PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); Dialog dialog= RefactoringUI.createRefactoringStatusDialog(status, shell, "", false); //$NON-NLS-1$ return dialog.open(); }