Login | Register
My pages Projects Community openCollabNet

gef
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

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