Bug 67950 [RCP] [doc] ui.workbench.compatibility methods should have deprecation warnings
Build 3.0 RC3 The old IWorkbenchPage methods declared in o.e.ui.workbench.compatibility.ICompatibleWorkbenchPage should have deprecation warnings in case someone imports the plug-in fragment into the workspace and arranges to compile code against it.
bundles/org.eclipse.ui.workbench.compatibility/src/org/eclipse/ui/internal/CompatibleWorkbenchPage.java
* referenced resource API.
 * 
 * @since 3.0
 */
public class CompatibleWorkbenchPage implements ICompatibleWorkbenchPage {
	/**
	 * openEditor(IFile) is declared on IWorkbenchPage in 2.1.
	 * This method was removed in 3.0 because it references resource API.
	 */
	public IEditorPart openEditor(IFile input) throws PartInitException {
		
		return openEditor(
				new Class[] {IWorkbenchPage.class, IFile.class, boolean.class},
				new Object[] {this, input, new Boolean(true)});
	}
	
	/**
	 * openEditor(IFile,String) is declared on IWorkbenchPage in 2.1.
	 * This method was removed in 3.0 because it references resource API.
	 */
	public IEditorPart openEditor(IFile input, String editorID) throws PartInitException {
		return openEditor(input, editorID, true);
	}
	/**
	 * openEditor(IFile,String,boolean) is declared on IWorkbenchPage in 2.1.
	 * This method was removed in 3.0 because it references resource API.
	 */
	public IEditorPart openEditor(IFile input, String editorID, boolean activate) throws PartInitException {
		return ((IWorkbenchPage) this).openEditor(getFileEditorInput(input), editorID);
	}