> 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>>