Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Error "Text editor does not have document provider"
Error "Text editor does not have document provider" [message #276715] Fri, 26 November 2004 23:25 Go to next message
Eclipse UserFriend
Originally posted by: vishal.kadam.snstech.com

I am trying to migrated my pulgin from eclipse2.0 to eclipse3.0.1
But,when the workbench is run and an error popup "Cannot open input
element Reason:Text editor does not have document provider" once for all
the new files and on clicking "OK",the rest works fine. I have seen the
documentation in the help for the same. It is given

<extension point="org.eclipse.ui.editors.documentProviders">
<provider
inputTypes="org.eclipse.ui.IStorageEditorInput"
class="org.eclipse.ui.editors.text.FileDocumentProvider"
id="org.eclipse.ui.editors.text.FileDocumentProvider">
</provider>
</extension>

This example registers org.eclipse.ui.editors.text.FileDocumentProvider as
the default

provider for all editor inputs that are instance of
org.eclipse.ui.IStorageEditorInput.

I tried this inside the plugin.xml. but the problem still persist.

Thank you,
Vishal
Re: Error "Text editor does not have document provider" [message #278430 is a reply to message #276715] Sun, 02 January 2005 10:32 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

vkadam wrote:

> I am trying to migrated my pulgin from eclipse2.0 to eclipse3.0.1
> But,when the workbench is run and an error popup "Cannot open input
> element Reason:Text editor does not have document provider" once for
> all the new files and on clicking "OK",the rest works fine. I have
> seen the documentation in the help for the same. It is given
>
> <extension point="org.eclipse.ui.editors.documentProviders">
> <provider inputTypes="org.eclipse.ui.IStorageEditorInput"
> class="org.eclipse.ui.editors.text.FileDocumentProvider"
> id="org.eclipse.ui.editors.text.FileDocumentProvider"> </provider>
> </extension>
> This example registers
> org.eclipse.ui.editors.text.FileDocumentProvider as the default
> provider for all editor inputs that are instance of
> org.eclipse.ui.IStorageEditorInput.
>
> I tried this inside the plugin.xml. but the problem still persist.

Please file a bug report against Platform Text with a small example to
reproduce the problem.

Dani

>
> Thank you,
> Vishal
>
Previous Topic:Quick-fix in editors
Next Topic:Marker position: convert line/column to position
Goto Forum:
  


Current Time: Fri Jul 18 15:52:40 EDT 2025

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

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

Back to the top