How to use org.eclipse.update.ui.forms?? [message #234324] |
Mon, 26 April 2004 03:58  |
Eclipse User |
|
|
|
Originally posted by: purjo76.luukku.com
Hi!
IŽm using Eclipse 2.1.2 and I would like to do same kind of editor that is
used i.e. for editing plugin.xml file in Eclipse. After looking the source
code of Eclipse I found out that they are using the package
'org.eclipse.update.ui.forms' for creating the editors. Anyway, I could
not find any instructions of how to use this package? Where could I find
API of it; for some reason it is not included in Eclipses API?? I also
searched this Eclipse site for 'org.eclipse.update.ui.forms', but did not
get any hits at all!!
Or is there some other way to create editors with this flat look??
|
|
|
|
|
|
|
Re: How to use org.eclipse.update.ui.forms?? [message #234415 is a reply to message #234408] |
Mon, 26 April 2004 07:43   |
Eclipse User |
|
|
|
Originally posted by: purjo76.luukku.com
Thanks for this information!
I know that SWT.FLAT option, but it seemed not to work i.e. for Composite
used on the background. I could not find API or any other documents for
Eclipse 2.1Žs forms, and itŽs pretty hard to code without any references...
Dirk Meister wrote:
> No, it is not impossible. But the flat forms API is internal code of the
> PDE plugins.
> Controls like Buttons have a style SWT.FLAT which produces a button with
> the flat look of the "plugin editor" or "feature editor".
> So you can emulate the view but the special forms SWT layouter is in 2.1
> not available to public, as far as i know.
> The problem with e.g. GridLayout is that the normal layouter are not
> scrollable. In an no-scrollable editor the sub element will be hidden,
> when the editor area is to small.
> Other advantages of the api are explaint in the article linked in the
> last message.
> It is possible in 2.1 but it not as easy and good as in 3.0 with the
> public eclipse flat forms api.
> Purjo wrote:
> > But the flat look is already used in many "native" editors found from
> > Eclipse 2.1?? Is it really impossible to use it with own Eclipse plugins
> > on 2.1??
> >
> > Dirk Meister wrote:
> >
> >
> >>Hi,
> >
> >
> >>the eclipse forms API is available since Eclipse 3.0, but not in Eclipse
> >> 2.1
> >>Any way there is an eclipse article which explains the use of the api.
> >>Link:
> >>
> >
> >
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-h ome/working/EclipseForms/EclipseForms.html
> >
> >
> >>Greeting
> >>Dirk
> >
> >
> >>Purjo wrote:
> >>
> >>>Hi!
> >>>
> >>>IŽm using Eclipse 2.1.2 and I would like to do same kind of editor that is
> >>>used i.e. for editing plugin.xml file in Eclipse. After looking the source
> >>>code of Eclipse I found out that they are using the package
> >>>'org.eclipse.update.ui.forms' for creating the editors. Anyway, I could
> >>>not find any instructions of how to use this package? Where could I find
> >>>API of it; for some reason it is not included in Eclipses API?? I also
> >>>searched this Eclipse site for 'org.eclipse.update.ui.forms', but did not
> >>>get any hits at all!!
> >>>
> >>>Or is there some other way to create editors with this flat look??
> >>>
> >
> >
> >
|
|
|
Re: How to use org.eclipse.update.ui.forms?? [message #234460 is a reply to message #234415] |
Mon, 26 April 2004 09:19  |
Eclipse User |
|
|
|
Originally posted by: purjo76.luukku.com
So can you tell me how to get that flat look for the editorŽs
background...?
Purjo wrote:
> Thanks for this information!
> I know that SWT.FLAT option, but it seemed not to work i.e. for Composite
> used on the background. I could not find API or any other documents for
> Eclipse 2.1Žs forms, and itŽs pretty hard to code without any references...
> Dirk Meister wrote:
> > No, it is not impossible. But the flat forms API is internal code of the
> > PDE plugins.
> > Controls like Buttons have a style SWT.FLAT which produces a button with
> > the flat look of the "plugin editor" or "feature editor".
> > So you can emulate the view but the special forms SWT layouter is in 2.1
> > not available to public, as far as i know.
> > The problem with e.g. GridLayout is that the normal layouter are not
> > scrollable. In an no-scrollable editor the sub element will be hidden,
> > when the editor area is to small.
> > Other advantages of the api are explaint in the article linked in the
> > last message.
> > It is possible in 2.1 but it not as easy and good as in 3.0 with the
> > public eclipse flat forms api.
> > Purjo wrote:
> > > But the flat look is already used in many "native" editors found from
> > > Eclipse 2.1?? Is it really impossible to use it with own Eclipse plugins
> > > on 2.1??
> > >
> > > Dirk Meister wrote:
> > >
> > >
> > >>Hi,
> > >
> > >
> > >>the eclipse forms API is available since Eclipse 3.0, but not in Eclipse
> > >> 2.1
> > >>Any way there is an eclipse article which explains the use of the api.
> > >>Link:
> > >>
> > >
> > >
>
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-h ome/working/EclipseForms/EclipseForms.html
> > >
> > >
> > >>Greeting
> > >>Dirk
> > >
> > >
> > >>Purjo wrote:
> > >>
> > >>>Hi!
> > >>>
> > >>>IŽm using Eclipse 2.1.2 and I would like to do same kind of editor that
is
> > >>>used i.e. for editing plugin.xml file in Eclipse. After looking the
source
> > >>>code of Eclipse I found out that they are using the package
> > >>>'org.eclipse.update.ui.forms' for creating the editors. Anyway, I could
> > >>>not find any instructions of how to use this package? Where could I find
> > >>>API of it; for some reason it is not included in Eclipses API?? I also
> > >>>searched this Eclipse site for 'org.eclipse.update.ui.forms', but did
not
> > >>>get any hits at all!!
> > >>>
> > >>>Or is there some other way to create editors with this flat look??
> > >>>
> > >
> > >
> > >
|
|
|
Powered by
FUDForum. Page generated in 0.04697 seconds