Bug 83523 Refactoring: Create package in move dialog is blocking
20050124 - Select a compilation unit, choose Refactor -> Move - In the dialog select a source folder and press 'Create folder...' - Enter a package name and press ok - Blocked dialog shows up. 'Operation blocked by background work', but no background operation visible It seems the operation blocked itself out. The 'create package' has been started in the model context thread and tries to get a lock which is taken by the refactoring operation - The blocking dialog could be improved: Blocking has nothing to do with a background work here - Running a modal context thread should better automatically transfer the locks/scheduling rules of the caller thread.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java
String message= NewWizardMessages.getString("NewElementWizard.op_error.message"); 
		ExceptionHandler.handle(e, shell, title, message);
	}
	
	/*
	 * @see Wizard#performFinish
	 */		
	public boolean performFinish() {
		IWorkspaceRunnable op= new IWorkspaceRunnable() {
			public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {
				try {
					finishPage(monitor);
				} catch (InterruptedException e) {
					throw new OperationCanceledException(e.getMessage());
				}
			}
		};
		try {
			getContainer().run(canRunForked(), true, new WorkbenchRunnableAdapter(op, getSchedulingRule()));
		} catch (InvocationTargetException e) {
			handleFinishException(getShell(), e);
			return false;
		} catch  (InterruptedException e) {
			return false;
		}
		return true;
	}
	
	protected void warnAboutTypeCommentDeprecation() {
		String key= IUIConstants.DIALOGSTORE_TYPECOMMENT_DEPRECATED;