My own document provider plugin [message #252271] |
Mon, 24 March 2008 13:19  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.11161 seconds