Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to create a new Editor and IEditorInput
How to create a new Editor and IEditorInput [message #294335] Thu, 10 November 2005 04:25 Go to next message
Thilo Brause is currently offline Thilo BrauseFriend
Messages: 5
Registered: July 2009
Junior Member
Hello,
I need to create a new Text Editor which can display Strings. (They
normaly only accept IFile). To do so I need to write a new IEditorInput,
but what is the next step? I assume that I somehow must work with a
IDocumentProvider, but did not find any appropiate code. Can anybody help
me with a fragment or example?
Re: How to create a new Editor and IEditorInput [message #294336 is a reply to message #294335] Thu, 10 November 2005 05:49 Go to previous messageGo to next message
Markus Wolf is currently offline Markus WolfFriend
Messages: 153
Registered: July 2009
Senior Member
Thilo Brause wrote:
> Hello,
> I need to create a new Text Editor which can display Strings. (They
> normaly only accept IFile). To do so I need to write a new IEditorInput,
> but what is the next step? I assume that I somehow must work with a
> IDocumentProvider, but did not find any appropiate code. Can anybody
> help me with a fragment or example?
>
In this blog is a tutorial and some sample code for creating a simple
editor. It's not must about file editors, but it would be easy to patch.

http://www.jroller.com/comments/Zhou/Weblog/eclipse_editors_ not_tied_to

Markus Wolf
--
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
>
>> phone: (+49) 40 550 083 70
>> web: http://www.emedia-solutions-wolf.de
>> mail: markus@emedia-solutions-wolf.de
>> pgp: http://wwwkeys.de.pgp.net
>
Re: How to create a new Editor and IEditorInput [message #294338 is a reply to message #294336] Thu, 10 November 2005 10:29 Go to previous message
Thilo Brause is currently offline Thilo BrauseFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks for this great hint. This blog really contained all necessary
information.
Previous Topic:Providing Content Assist in an Editor
Next Topic:get CVS Head
Goto Forum:
  


Current Time: Thu Dec 26 10:11:37 GMT 2024

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

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

Back to the top