Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to get the active editor?
How to get the active editor? [message #226115] Wed, 15 April 2009 08:34 Go to next message
changqing is currently offline changqingFriend
Messages: 16
Registered: July 2009
Junior Member
Hello,

I don't know how to get the object of active editor, who can tell me the
class and the method?

Thanks!

Regards,
changqing
Re: How to get the active editor? [message #226168 is a reply to message #226115] Wed, 15 April 2009 09:57 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello changqing,

IWorkbench.getActiveWorkbenchWindow().getActivePage().getAct iveEditor()

-----------------
Alex Shatalin
Previous Topic:how to modify the icon of a compartment?
Next Topic:Display value of EReference with Feature Label Mapping
Goto Forum:
  


Current Time: Fri Apr 26 19:47:38 GMT 2024

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

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

Back to the top