Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:FAQ How do I open an editor on something that is not a file?

Revision as of 16:16, 27 May 2009 by Unnamed Poltroon (Talk) (Rationale of my change a bit earlier.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Updated the page, because it was not working for me with Eclipse 3.4.2... the problem was that I got a core.runtime.CoreException

"Text editor does not have a document provider"

originating from:

org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3988)

When aligning the code with that from:

http://blog.eclipse-tips.com/2008/06/opening-editor-without-ifile.html

which does not extent the PlatformObject, and implemented the getAdapter() method itself...

That made the code work for Eclipse' TextEditor and a local JavaScript editor of Bioclipse.

Back to the top