Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Editor - Document Provider error
Editor - Document Provider error [message #326324] Fri, 14 March 2008 19:51
Eclipse UserFriend
Originally posted by: marcio.debarros.gmail.com

Hi,

I have an editor class that extends from MultiPage editor (right now all
subpages are TextEditors), in the same plug-in/perspective I also have
two separate views, one which is a custom view based on a TreeView,
which has different level of nodes, and then an object that implements
IEditorInput. The other is an extension of the CNF.

In both views expect to double click on an object, open the editor and
load the context of the object on it. In the CNF view everything works
fine, as the objects being clicked are IFiles.

When the double click occurs on the custom view, before I invoke the
openEditor method,
the object is saved in resource file.

getViewSite().getWorkbenchWindow().getActivePage().openEdito r(message,
Editor.ID)


However when I do that, I get org.eclipse.ui.PartInitException: Text
editor does not have a document provider at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3026)

However I could not find a method to set a DocumentProvider for a
MultiPage editor.

Any suggestions/ideas on what I may be missing here ?

Thanks,

--MD.
Previous Topic:Cannot find color setting for search hints
Next Topic:Invisible Text?
Goto Forum:
  


Current Time: Thu Jun 27 21:01:51 GMT 2024

Powered by FUDForum. Page generated in 0.03314 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top