Login | Register
My pages Projects Community openCollabNet

Discussions > dev > RE: [gef-dev] using gef to build swing editor

gef
Discussion topic

Back to topic list

RE: [gef-dev] using gef to build swing editor

Reply

Author Ricardo Trindade <ricardo dot trindade at emation dot pt>
Full name Ricardo Trindade <ricardo dot trindade at emation dot pt>
Date 2003-11-03 11:41:27 PST
Message Hi,

    I've done a fairly big research on gef-style packages, and have it narrowed
down to JGraph, GEF, and Eclipse/GEF. I think I'll rule out Eclipse/GEF,
because it would force me to abandon swing in favor of SWT, which I don't
think I want to do.

    So, can you point me to the advantages/disadvantages of both of them ?

    On the technical side of things I think GEF is better (I've been looking at
the architecture), but from your post it looks like jgraph would be easier
to work with.

thanks
Ricardo

-----Mensagem original-----
De: Hallvard Trætteberg [mailto:hal at idi dot ntnu dot no]
Enviada: sábado, 1 de Novembro de 2003 20:33
Para: dev at gef dot tigris dot org
Assunto: RE: [gef-dev] using gef to build swing editor


Ricardo,

Another possibility is JGraph (www.jgraph.org), which support using
Swing components to both paint and edit graph nodes. It's fairly easy to
attach a java bean to a node, which is used for both purposes. I have a
pair of students which have done this.

In my opinion, Jgraph is cleaner and easier to work with, particularly
for those with Swing experience (it's design is based on Swing's JTree).

Hallvard Trætteberg, 1.amanuensis ved Inst. for datateknikk og
informasjonsvitenskap ved NTNU
www.idi.ntnu.no/~hal, mailto:hal at idi dot ntnu dot no phone:+47 7359 3443,


> -----Original Message-----
> From: Ricardo Trindade [mailto:ricardo.trin​dade at emation dot pt]
> Sent: 2. november 2003 08:56
> To: dev at gef dot tigris dot org
> Subject: [gef-dev] using gef to build swing editor
>
>
> Hi,
>
> I need to build a swing editor for my application
> (industrial supervision) that will operate in runtime. The
> main difference from most swing editors will be that it won't
> generate java code, but serialized panels.
>
> I think GEF can help me, because it already implements
> nice resize, placemente, etc.. code.
>
> I played with gef source for a while, and found this
> main problem :
>
> -The diagram accepts only objects that come from your
> class hierarchy. However, I want to be able to deploy any
> javabean, withou having to change it, or create additional
> classes. (I don't need the connection feature)
>
> However, I noticed that the Graph can receive an
> editor, etc.., so perhaps I could extend GEF to handle swing
> editing (I already have a nice set of property editors,
> opensourced by nanotitan).
>
> If I implemented the editior in GEF I would probably
> opensource it.
>
> Does this make sense, or should I just take a look at
> your selection/resizing/etc.. code and implement it myself ?
>
> thanks
> Ricardo
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
> For additional commands, e-mail: dev-help at gef dot tigris dot org
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: dev-help at gef dot tigris dot org

« Previous message in topic | 3 of 5 | Next message in topic »

Messages

Show all messages in topic

[gef-dev] using gef to build swing editor Ricardo Trindade <ricardo dot trindade at emation dot pt> Ricardo Trindade <ricardo dot trindade at emation dot pt> 2003-11-01 23:56:04 PST
     RE: [gef-dev] using gef to build swing editor hallvard Hallvard Trætteberg 2003-11-01 12:32:30 PST
         RE: [gef-dev] using gef to build swing editor Ricardo Trindade <ricardo dot trindade at emation dot pt> Ricardo Trindade <ricardo dot trindade at emation dot pt> 2003-11-03 11:41:27 PST
             RE: [gef-dev] using gef to build swing editor hallvard Hallvard Trætteberg 2003-11-03 13:04:19 PST
                 RE: [gef-dev] using gef to build swing editor Ricardo Trindade <ricardo dot trindade at emation dot pt> Ricardo Trindade <ricardo dot trindade at emation dot pt> 2003-11-04 00:48:28 PST
Messages per page: