Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » HTML like UI
HTML like UI [message #142937] Mon, 13 October 2003 04:21 Go to next message
Eclipse UserFriend
Hi all !

I have started to write a plugin that is a frontend for Doxygen
(http://www.doxygen.org), a nice tool to generate C/C++ source code
documentation. One of its (the plugin) functionnalities will be to
provide an editor for Doxygen's configuration file.

While working with Eclipse, I found some very user-friendly UIs like the
Install/Update manager and the PDE plugin manifest editor. These two
UIs have one thing common : they behave like HTML pages.

While developping my plugin, I thought that such HTML like pages where a
good idea for configuration file editor. And I looked all arround in the
API documentation but found nothing allowing me to build such an
interface.

Does anyone know how these Eclipse HTML-like UIs have been builded ?

Thanks in advance.

Guillaume
Re: HTML like UI [message #142996 is a reply to message #142937] Mon, 13 October 2003 08:26 Go to previous messageGo to next message
Eclipse UserFriend
AFAIK this stuff is internal to eclipse, which is why you dont find any
public API descriptions. You can look at the source code - but reuse
seems somewhat unsafe.

Guillaume Brocker wrote:
> Hi all !
>
> I have started to write a plugin that is a frontend for Doxygen
> (http://www.doxygen.org), a nice tool to generate C/C++ source code
> documentation. One of its (the plugin) functionnalities will be to
> provide an editor for Doxygen's configuration file.
>
> While working with Eclipse, I found some very user-friendly UIs like the
> Install/Update manager and the PDE plugin manifest editor. These two
> UIs have one thing common : they behave like HTML pages.
>
> While developping my plugin, I thought that such HTML like pages where a
> good idea for configuration file editor. And I looked all arround in the
> API documentation but found nothing allowing me to build such an
> interface.
>
> Does anyone know how these Eclipse HTML-like UIs have been builded ?
>
> Thanks in advance.
>
> Guillaume
>
Re: HTML like UI [message #143423 is a reply to message #142996] Tue, 14 October 2003 03:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kk.dev.null

Christian Sell wrote:
> AFAIK this stuff is internal to eclipse, which is why you dont find any
> public API descriptions. You can look at the source code - but reuse
> seems somewhat unsafe.
>

I've asked the lead developer before why those nice APIs are not
exposed, things like Forms, Scrollable Forms, etc.

He said they are considering to eventually expose them, but at this
point (well, it was 4 or 5 months ago) they don't have the bandwidth
to do it.

Then I ask if I can get some design documents on that (since the whole
set of code is public anyways, why keeping the doco secret?) since the
code is totally "clean" (like not a single line of comments!).
The only answer I got was something like "RTFC" (read the fucking
code).
Re: HTML like UI [message #143443 is a reply to message #143423] Tue, 14 October 2003 03:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kk.dev.null

kk wrote:
> Christian Sell wrote:
>
>> AFAIK this stuff is internal to eclipse, which is why you dont find
>> any public API descriptions. You can look at the source code - but
>> reuse seems somewhat unsafe.
>>
>
> I've asked the lead developer before why those nice APIs are not
> exposed, things like Forms, Scrollable Forms, etc.
>
> He said they are considering to eventually expose them, but at this
> point (well, it was 4 or 5 months ago) they don't have the bandwidth
> to do it.
>
> Then I ask if I can get some design documents on that (since the whole
> set of code is public anyways, why keeping the doco secret?) since the
> code is totally "clean" (like not a single line of comments!).
> The only answer I got was something like "RTFC" (read the fucking
> code).
>
>

Sorry to respond to myself. I think those codes, as nice as they are,
need some clean up. Some of those are really slow. Look at how slow
the PDE manifest editor is, it borrows a lot of UI code from the
Update plugin. It also can lose some weight too.

Note: have not look at the code M4 though.
Re: HTML like UI [message #143452 is a reply to message #143443] Tue, 14 October 2003 03:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Eric.Jain.isb-sib.ch

> I think those codes, as nice as they are,
> need some clean up. Some of those are really slow.

There's some really funny stuff going on. For example, in order to create
'flat' looking form elements, the borders of the element are drawn from
within a PaintListener...

In any case I, too, wish there was an official and documented way to create
your own form based editors. Guess all we can do for the time being is hope
and pray :-)

--
Eric Jain
Re: HTML like UI [message #143523 is a reply to message #143452] Tue, 14 October 2003 07:49 Go to previous message
Eclipse UserFriend
I think you could create EMF models and have EMF generate the editing
forms for them.. I looks like this comes as standard functionality.

Eric Jain wrote:
>>I think those codes, as nice as they are,
>>need some clean up. Some of those are really slow.
>
>
> There's some really funny stuff going on. For example, in order to create
> 'flat' looking form elements, the borders of the element are drawn from
> within a PaintListener...
>
> In any case I, too, wish there was an official and documented way to create
> your own form based editors. Guess all we can do for the time being is hope
> and pray :-)
>
> --
> Eric Jain
>
>
Previous Topic:IViewActionDelegate and TableViewer
Next Topic:Preventing an editor from being restored
Goto Forum:
  


Current Time: Thu Sep 18 02:56:53 EDT 2025

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

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

Back to the top