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 hallvard
Full name Hallvard Trætteberg
Date 2003-11-01 12:32:30 PST
Message 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

« Previous message in topic | 2 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: