Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Listening for focus change events
Listening for focus change events [message #164450] Wed, 05 December 2007 21:40 Go to next message
Eclipse UserFriend
Originally posted by: kilop84.gmail.com

Hi,

I'm getting into GMF programming and it's going really great, but I need
some help. I need to monitor when the focus in a DiagramDomainEditor
changes so that I can highlight some terms in a different (code) editor
window. How can I register a listener for these focus change events?

Thanks,

Oge.
Re: Listening for focus change events [message #165197 is a reply to message #164450] Wed, 12 December 2007 15:47 Go to previous message
No real name is currently offline No real nameFriend
Messages: 33
Registered: July 2009
Member
Edit parts are notified of focus changes in the showTargetFeedback() and
eraseTargetFeedback() methods. These methods are usally delegated to all
edit policies. For further explanation lookat the GEF documentation in
the eclipse help.

Jan



Oge schrieb:
> Hi,
>
> I'm getting into GMF programming and it's going really great, but I need
> some help. I need to monitor when the focus in a DiagramDomainEditor
> changes so that I can highlight some terms in a different (code) editor
> window. How can I register a listener for these focus change events?
>
> Thanks,
>
> Oge.
Previous Topic:Refresh a figure
Next Topic:WrapLabels
Goto Forum:
  


Current Time: Thu Mar 28 19:52:26 GMT 2024

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

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

Back to the top