public ISchedulingRule getSchedulingRule() { if (info.fElement instanceof IFileEditorInput)   return ResourcesPlugin.getWorkspace().getRoot(); else return null; }
	protected DocumentProviderOperation createSaveOperation(final Object element, final IDocument document, final boolean overwrite) throws CoreException {		final FileInfo info= getFileInfo(element);		if (info instanceof CompilationUnitInfo) {			return new DocumentProviderOperation() {				protected void execute(IProgressMonitor monitor) throws CoreException {					commitWorkingCopy(monitor, element, (CompilationUnitInfo) info, overwrite);				}			};		}		return null;	}