Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [gef-users] [Fwd: Special figure group]

Discussion topic

Back to topic list

Re: [gef-users] [Fwd: Special figure group]


Author bobtarling
Full name Bob Tarling
Date 2008-01-23 17:45:54 PST
Message Hello Noe

I'm away ion holiday at the moment and have only just checked my email
in an internet cafe.

If no one gets back to you in the meantime then I'll respond again on
my return home next week.

Some quick pointer off the top of my head.

Look at the Mode classes. You need to create your own specialised
version of ModeCreate that will do some past processing once the Fig
is created.

Alternatively there might be a postCreate method on Fig, I'm not so
sure about this.

You can then look at CmdGroup to see how that merges Figs.

Hopefully someone else will respond with some further help in the meantime.



On 18/01/2008, Noe Casas <ncasas at gmv dot com> wrote:
> Hi,
> I'm working on a project that has just started using GEF as base library
> for developing a diagram editor. One of our requirements is to create a
> kind of figures called 'sketches'; they are rectangles that act like a
> bag of figures: when you drag another figure and drop it withing the
> limits of a sketch, the figure shall be 'absorved' by it (the figure
> becomes a 'child' of the sketch, being moved and resized along with it
> and any other child figure).
> I am trying to figure out the way to implement this, could you please
> help me with some ideas?
> Thanks in advance.
> Noe.
> ______________________
> Este mensaje, y en su caso, cualquier fichero anexo al mismo,
> puede contener informacion clasificada por su emisor como confidencial
> en el marco de su Sistema de Gestion de Seguridad de la
> Informacion siendo para uso exclusivo del destinatario, quedando
> prohibida su divulgacion copia o distribucion a terceros sin la
> autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
> erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
> Gracias por su colaboracion.
> ______________________
> This message including any attachments may contain confidential
> information, according to our Information Security Management System,
> and intended solely for a specific individual to whom they are addressed.
> Any unauthorised copy, disclosure or distribution of this message
> is strictly forbidden. If you have received this transmission in error,
> please notify the sender immediately and delete it.
> ______________________
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@ge​f.tigris.org
> For additional commands, e-mail: users-help at gef dot tigris dot org

« Previous message in topic | 2 of 4 | Next message in topic »


Show all messages in topic

[Fwd: Special figure group] Noe Casas <ncasas at gmv dot com> Noe Casas <ncasas at gmv dot com> 2008-01-17 08:16:22 PST
     Re: [gef-users] [Fwd: Special figure group] bobtarling Bob Tarling 2008-01-23 17:45:54 PST
         Re: [gef-users] [Fwd: Special figure group] bobtarling Bob Tarling 2008-01-24 18:16:03 PST
             Re: [gef-users] [Fwd: Special figure group] Noe Casas <ncasas at gmv dot com> Noe Casas <ncasas at gmv dot com> 2008-02-06 03:26:29 PST
Messages per page: