Skip to main content



      Home
Home » Newcomers » Newcomers » My own document provider plugin
My own document provider plugin [message #252271] Mon, 24 March 2008 13:19 Go to next message
Eclipse UserFriend
Hello, All

I'm just starting to develop my own plugin.
I want create a plugin which stores text document in some different storages (DB, remote server (over SOAP), local file
system, etc), provides a View with list of available documents. For editing documents I want use editors from Eclipse.

AFAIK, I should implement IDocumentProvider interface for storing documents and IDocument for my documents. But, I don't
understand, what I should do to provide opening the documents with the eclipse editors.

Thanks.

Denis Kostousov
Re: My own document provider plugin [message #252309 is a reply to message #252271] Tue, 25 March 2008 07:05 Go to previous message
Eclipse UserFriend
Denis Kostousov wrote:
> Hello, All
>
> I'm just starting to develop my own plugin.
> I want create a plugin which stores text document in some different storages (DB, remote server (over SOAP), local file
> system, etc), provides a View with list of available documents. For editing documents I want use editors from Eclipse.
>
> AFAIK, I should implement IDocumentProvider interface for storing documents and IDocument for my documents. But, I don't
> understand, what I should do to provide opening the documents with the eclipse editors.
>
Since you want to look at your data outside the editor as well, it might
be better to back your data by your own file system implementation (see
org.eclipse.core.filesystem.IFileSystem). If you do so, you can open
your data in the existing eclipse editors without additional code, since
they can be opened on an IFileStore.

Dani
> Thanks.
>
> Denis Kostousov
>
Previous Topic:Error creating the view due to illegal UTF8 string
Next Topic:Code deleted when quitting Eclipse
Goto Forum:
  


Current Time: Wed Apr 30 12:04:55 EDT 2025

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

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

Back to the top