Community
Participate
Working Groups
We're using an extension to MultiPageEditorPart as an editor. In trying to handle files that we cannot open (corrupt, invalid, etc), we throw a PartInitException with text useful to the user to signify that initialization failed. The problem is that prepended to our error message is the text "Unable to create this part due to an internal error. Reason for the failure:", added in org.eclipse.ui.internal.EditorReference. Ideally, there should be a mechanism for preventing further initialization and displaying the error message in a dialog rather than a useless error part that the end user cannot do anything useful with (and must close it). The only partial workaround this problem has right now is to handle the error completely inside init, then exec a new Runnable to close the editor (since throwing a PartInitException will create a fake editor, or not throwing the exception will create an invalid editor). There needs to be a way to prevent the editor from even opening.
Moving Dougs bugs
Deferring
*ping*
Moving to Boris for consideration.
Looks like a dup of bug 90582 to me. Feel free to reopen if you don't agree. *** This bug has been marked as a duplicate of bug 90582 ***