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
IPluginDescriptor desc= Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.ui.ide"); 		
		Exception problem;
		try {
			Class clazz =
				desc.getPluginClassLoader().loadClass("org.eclipse.ui.part.FileEditorInput"); 
			Constructor constructor = 
				clazz.getConstructor(new Class[] {IFile.class});
			return (IEditorInput) constructor.newInstance(new Object[] {file});
		} catch (NullPointerException e) {
			problem = e;
		} catch (ClassNotFoundException e) {
			problem = e;
		} catch (NoSuchMethodException e) {
			problem = e;
		} catch (IllegalArgumentException e) {
			problem = e;
		} catch (IllegalAccessException e) {
			problem = e;
		} catch (InvocationTargetException e) {
			problem = e;
		} catch (InstantiationException e) {
			problem = e;
		}
		IStatus status = new Status(IStatus.ERROR, WorkbenchPlugin.PI_WORKBENCH, 0, "openEditor() compatibility support failed - new FileEditorInput(file)", problem);  
		WorkbenchPlugin.log(status.getMessage(), status);
		throw new PartInitException(status);
	}
	
	/* Implementation support: 
	 * Use reflection to invoke the appropriate static openEditor(...) method on IDE