if (fChangeOnWorkspace) { Hashtable map= JavaCore.getOptions(); JavaModelUtil.set50CompilanceOptions(map); JavaCore.setOptions(map); } else { Map map= fProject.getOptions(false); JavaModelUtil.set50CompilanceOptions(map); fProject.setOptions(map); }
		public void apply(IDocument document) {			try {				IProgressService progressService= PlatformUI.getWorkbench().getProgressService();				progressService.run(true, true, new WorkbenchRunnableAdapter(this));			} catch (InvocationTargetException e) {				JavaPlugin.log(e);			} catch (InterruptedException e) {				return;			}						if (fUpdateJob != null) {				fUpdateJob.schedule();			}						if (!f50JREFound) {				MessageDialog.openInformation(JavaPlugin.getActiveWorkbenchShell(), CorrectionMessages.ReorgCorrectionsSubProcessor_no_50jre_title, CorrectionMessages.ReorgCorrectionsSubProcessor_no_50jre_message);			}		}