Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to register selection changed event.
How to register selection changed event. [message #1064932] Fri, 21 June 2013 13:18 Go to next message
Binhua Liu is currently offline Binhua Liu
Messages: 7
Registered: June 2013
Junior Member
Hi everyone,

I want to create a view which similar with property view, when selected node changed, the view can show and edit the model of selected node. but i didn't see GMF Editor has selection changed event can register. How can I do it?

Thank you!
Re: How to register selection changed event. [message #1065118 is a reply to message #1064932] Mon, 24 June 2013 08:36 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

the eclipse selection service solves your problem. http://www.eclipse.org/articles/Article-WorkbenchSelections/article.html

Ralph
Previous Topic:Create objects programmatically
Next Topic:Multiple diagrams from single plugin
Goto Forum:
  


Current Time: Thu Aug 21 06:15:42 EDT 2014

Powered by FUDForum. Page generated in 0.01591 seconds