Community
Participate
Working Groups
The comment for org.eclipse.ui.part.EditorPart.init(IEditorSite site, IEditorInput input): "/* (non-Javadoc) * Initializes the editor part with a site and input. * <p> * Subclasses of <code>EditorPart</code> must implement this method. Within * the implementation subclasses should verify that the input type is acceptable * and then save the site and input. Here is sample code: * </p> * <pre> * if (!(input instanceof IFileEditorInput)) * throw new PartInitException("Invalid Input: Must be IFileEditorInput"); * setSite(site); * setInput(editorInput); * </pre> */" The line "setInput(editorInput)" should be "setInput(input)".
Wrong address :-).
Created attachment 5172 [details] Patch for org.eclipse.ui.workbench Patch created for project org.eclipse.ui.workbench. Simon, could you review and release if appropriate?
Applied the patch and released the changes.