|Hook for GMF editor startup? [message #491426]
||Wed, 14 October 2009 13:13
| Hauke Fuhrmann
Registered: July 2009
I need a way to execute a function at a point in time before any GEF/GMF
editor has initialized. This way I want to globally register some
listeners and stuff.
So far I used the org.eclipse.ui.startup extension point to do this.
However, the earlyStartup method is only called after all Workbench
stuff was initialized. This might be *after* an GEF/GMF Diagram editor
has been initialized. Is there any hook available that lets me execute a
method call right before the first diagram editor opens up?
Not nure whether this is a GEF or GMF related question.
Example: I want to write a listener that gets informed about any
collapse or expand events or compartments in graphical editors,
regardless of the actual editor. Hence I have an IPartListener, that
listens to changes of the active editor and registers a
ResourceSetListener to the currently active editor. However, in my
current setup, no Notifications are fired for already open editors at
Powered by FUDForum
. Page generated in 0.02702 seconds