Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Active Editor ?
Active Editor ? [message #209656] Fri, 17 February 2006 17:41 Go to next message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
When i've opened multiple instances of my GEF editor
i want to get access to the active model. When i switch
to another instance how do i get the active editor and model in GEF ?

Thanks in advance for any answer.
Re: Active Editor ? [message #210795 is a reply to message #209656] Mon, 06 March 2006 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rudolf.pischek.cleverlance.com

IWorkbenchPage has IEditorPart getActiveEditor(), (it is active editor on page). From st extends EditorPart you can try getSite().getPage().getActiveEditor().
Re: Active Editor ? [message #210819 is a reply to message #210795] Mon, 06 March 2006 11:38 Go to previous message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
Thanks for the answer. I found the solution too.
But i'm grateful for any reply regarding GEF.
Previous Topic:XYLayoutEditPolicy
Next Topic:Can CompoundDirectedGraphLayout autoplace this?
Goto Forum:
  


Current Time: Sun Nov 27 16:57:53 GMT 2022

Powered by FUDForum. Page generated in 0.02878 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top