Login | Register
My pages Projects Community openCollabNet

Discussions > users > showing/creating multiple editors at the same time

gef
Discussion topic

Back to topic list

showing/creating multiple editors at the same time

Reply

Author axhixh
Full name Ashish Shrestha
Date 2008-04-10 04:48:55 PDT
Message Hi!

I am using the gef library to edit some graphs. Currently, I can edit
only one graph at a time because the class Globals is effectively
singleton and stores 'current editor' which is accessed by all the actions.

Is there a way to make multiple editors visible at the same time? Both
the editor has their own graph and data model.

I think the use of Globals.curEditor() should be removed/minimised.
Shouldn't the Cmds be moved to Actions and the ActionEvent pass the
editor as the source?

Ashish

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

Messages

Show all messages in topic

showing/creating multiple editors at the same time axhixh Ashish Shrestha 2008-04-10 04:48:55 PDT
     Re: [gef-users] showing/creating multiple editors at the same time bobtarling Bob Tarling 2008-04-10 05:18:25 PDT
         Re: [gef-users] showing/creating multiple editors at the same time axhixh Ashish Shrestha 2008-04-10 06:32:13 PDT
Messages per page: