transforming java aplication on a plugin [message #273003] |
Wed, 29 September 2004 16:04  |
Eclipse User |
|
|
|
Originally posted by: chronicchronicle.hotmail.com
hi , i have an aplication and using a frame in java and i want to migrate
to eclipse , to be a plugin , but i cant find a class that implement a
frame inside the plugin
plis help me i somebody knows something about
regards
monster
|
|
|
Re: transforming java aplication on a plugin [message #273298 is a reply to message #273003] |
Mon, 04 October 2004 06:15  |
Eclipse User |
|
|
|
Originally posted by: ian.hartney.gmail.com
Eclipse uses the SWT framework instead of swing or AWT, so you would have to
port it over to that. As for the frame class. Well when you create a new
editor you can access its "Composite" which is the generic GUI surface for
SWT. This can be treated as a frame and SWT components can added and layed
out on it.
To Access the composite in a TextEditor you override the
ISourceViewer createSourceViewer( Composite parent,IVerticalRuler ruler,int
styles)
method.
On a multipage editor you create your own using
composite = new Composite(getContainer(), SWT.NONE)
when
void createPages()
is called.
"monster" <chronicchronicle@hotmail.com> wrote in message
news:cjf4gj$gqe$1@eclipse.org...
> hi , i have an aplication and using a frame in java and i want to migrate
> to eclipse , to be a plugin , but i cant find a class that implement a
> frame inside the plugin
>
> plis help me i somebody knows something about
>
> regards
>
>
> monster
>
|
|
|
Powered by
FUDForum. Page generated in 0.03706 seconds