Bug 148993 [Workbench] Wrong Javadoc for IDE.getEditorDescriptor
3.2 and latest 3.3 build The Javadoc of IDE.getEditorDescriptor(...) does not mention that as a very last resort it tries to find the editor descriptor for the default text editor i.e. IDEWorkbenchPlugin.DEFAULT_TEXT_EDITOR_ID (org.eclipse.ui.DefaultTextEditor)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java
* editor is brought to front; otherwise, a new editor is opened. The editor created 
	 * for the first input will be activated.
	 * </p>
	 * @param page the page in which the editor will be opened
	 * @param inputs the inputs for the editors
	 * @return references to the editors opened; the corresponding editors might not be materialized
	 * @exception MultiPartInitException if at least one of the editors could not be initialized
	 * @since 3.5
	 */
	public static IEditorReference[] openEditors(IWorkbenchPage page, IFile[] inputs) throws MultiPartInitException {
		if ((page == null) || (inputs == null))
			throw new IllegalArgumentException();
		
		String[] editorDescriptions = new String[inputs.length]; 
		IEditorInput[] editorInputs = new IEditorInput[inputs.length]; 
		for(int i = 0 ; i < inputs.length; i++) {
			editorInputs[i] = new FileEditorInput(inputs[i]);
			try {
				editorDescriptions[i] = getEditorDescriptor(inputs[i]).getId();
			} catch (PartInitException e) {
				PartInitException[] exceptions = new PartInitException[inputs.length];
				exceptions[i] = e;
				throw new MultiPartInitException(new IWorkbenchPartReference[inputs.length], exceptions);
			}
		}
		return page.openEditors(editorInputs, editorDescriptions, IWorkbenchPage.MATCH_INPUT);
	}
	
}