HTML like UI [message #142937] |
Mon, 13 October 2003 04:21  |
Eclipse User |
|
|
|
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 #143443 is a reply to message #143423] |
Tue, 14 October 2003 03:27   |
Eclipse User |
|
|
|
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 #143523 is a reply to message #143452] |
Tue, 14 October 2003 07:49  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04678 seconds