Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [gef-users] [GEF] Trying to match nodes from different FigGroups

gef
Discussion topic

Back to topic list

Re: [gef-users] [GEF] Trying to match nodes from different FigGroups

Reply

Author "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com>
Full name "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com>
Date 2008-08-19 04:49:46 PDT
Message You understood me perfectly...
I'll keep on working on it. If i get some successful results i'll notice
you!

Thanks!

On Tue, Aug 19, 2008 at 12:01 PM, Bob Tarling <bob dot tarling at gmail dot com> wrote:

> Okay, I think I understand.
>
> I suspect what you require is something like how ArgoUML is able to
> place a FigClass and FigInterface nodes within a FigPackage node.
>
> A package can contain various other diagram elements that can be moved
> and manipulated inside the package. Packages themselves can be moved
> on the main diagram layer (or in fact placed within themselves).
>
> Does this sound similar to your requirements?
>
> If so then I must confess that GEFs implementation is in my opinion a
> bit messy here. This concept appears to me to have been an
> afterthought in the design.
>
> The trick is to set your FigSketch subclass as being enclosable. It's
> then possible to drag and drop other FigNodes within it.
>
> Unfortunately I'm working abroad at the moment with limited ability to
> go and view and of the GEF or ArgoUML code. I only have a window of a
> few hours before then leaving on holiday for a week or so.
>
> Is anyone else available to help steer Andres on this?
>
> Bob.
>
>
> 2008/8/19 J. Andrés Pizarro <j.andres.pizarro​@gmail.com>:
> > In the end it is hard for me to show a alternate gefdemo version because
> the
> > problem i have is derived from the custom editor i'm developing, and due
> to
> > privacy restrictions i can't show you as i wanted. But i will try to
> explain
> > my best...
> > What i am trying to is to enabled custom figures creation at runtime, so
> i
> > have created a new figure called FigSketch which can be edited and later
> > saved. These figures also can contain nodes which can be used to connect
> > different custom sketches. Anyway, nodes contained inside a sketch return
> > their bounds accordgin to the sketch which contain the nodes. But i
> should
> > know the absolute position of the node independently of the sketch which
> > contains it.
> > I hope you can understand me.
> >
> > On Mon, Aug 18, 2008 at 6:03 PM, J. Andrés Pizarro
> > <j.andres.pizarro​@gmail.com> wrote:
> >>
> >> I'll try to have an alternate gefdemo app to show my problem.
> >> I'll also try to show some changes i have made to gef demo.
> >>
> >> Thanks!
> >>
> >> On Mon, Aug 18, 2008 at 5:55 PM, Bob Tarling <bob dot tarling at gmail dot com>
> >> wrote:
> >>>
> >>> I'm not quite following what you're trying to do here.
> >>>
> >>> Are you able to supply a small mini-app that shows your problem or
> >>> patch one of the defdemo apps to demonstrate your problem?
> >>>
> >>> Bob.
> >>>
> >>> 2008/8/18 J. Andrés Pizarro <j.andres.pizarro​@gmail.com>:
> >>> > Good Afternoon:
> >>> > I'm trying to match two different nodes, considering one of them
> >>> > contained
> >>> > by a FigGroup and another which is outside. As the edge figure i am
> >>> > using a
> >>> > FigEdgePoly.
> >>> > In method computeRouteImpl(), when asking for the center of the node
> >>> > figure,
> >>> > node is asked for its bounds and as result of this it returns bounds
> >>> > relative to group figure. So my question is...Is there any way of
> >>> > getting
> >>> > absolute bounds for matching my nodes?
> >>> > Maybe it is a difficult question...maybe because i'm getting a bit
> >>> > crazy
> >>> > with this! I think this must be much easier.
> >>> >
> >>> > Thanks!
> >>> >
> >>>
> >>> --------------------​--------------------​--------------------​---------
> >>> To unsubscribe, e-mail: users-unsubscribe@ge​f.tigris.org
> >>> For additional commands, e-mail: users-help at gef dot tigris dot org
> >>>
> >>
> >
> >
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@ge​f.tigris.org
> For additional commands, e-mail: users-help at gef dot tigris dot org
>
>
Attachments

« Previous message in topic | 6 of 7 | Next message in topic »

Messages

Show all messages in topic

[GEF] Trying to match nodes from different FigGroups "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> 2008-08-18 08:28:47 PDT
     Re: [gef-users] [GEF] Trying to match nodes from different FigGroups bobtarling Bob Tarling 2008-08-18 08:55:35 PDT
         Re: [gef-users] [GEF] Trying to match nodes from different FigGroups "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> 2008-08-18 09:03:02 PDT
             Re: [gef-users] [GEF] Trying to match nodes from different FigGroups "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> 2008-08-19 01:46:50 PDT
                 Re: [gef-users] [GEF] Trying to match nodes from different FigGroups bobtarling Bob Tarling 2008-08-19 03:01:14 PDT
                     Re: [gef-users] [GEF] Trying to match nodes from different FigGroups "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> "=?ISO-8859-1?Q?J dot _Andr=E9s_Pizarro?=" <j dot andres dot pizarro at gmail dot com> 2008-08-19 04:49:46 PDT
                         Re: [gef-users] [GEF] Trying to match nodes from different FigGroups bobtarling Bob Tarling 2008-08-19 05:49:14 PDT
Messages per page: