|
|
Re: How to create an editor? [message #326387 is a reply to message #326383] |
Tue, 18 March 2008 15:55 |
Eclipse User |
|
|
|
Originally posted by: thomas.maurer.nospamierax.ch
"peterM" <regestrer@gmail.com> schrieb im Newsbeitrag
news:615350.3311205852986818.JavaMail.root@cp1.dzone.com...
> I want to know what do i need to do in order to create my own editor. Here
is what i know so far:
> I need an extension point org.eclipse.ui.editors -> specify my own class
which at the very least extends the IEditorPart. I need to define an Editor
input. Where should I do that? How should i do that. How do i tell my
editor -> here is the bytes of this file use this to display. I don't
understand how the editor works. If anyone can help and explain
> Thanks,
> Peter
I think this question can not be answered sensibly with one post. It
requires at least some study of the basic architecture. Even the platform
plugin help of Eclipse says: "There is no 'typical' implementation pattern
for an editor...".
I suggest reading Eclipse help "Platform Plug-in Developer Guide >
Programmer's Guide > Editors" for a start. Certainly creating a fully
functional sample with one of the wizards as the previous post suggests will
help a lot with understanding.
Thomas
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03342 seconds