Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Action upon node selection
Action upon node selection [message #174484] Wed, 27 February 2008 11:40 Go to next message
Eclipse UserFriend
Originally posted by: balancedblend.gmx.de

Hello,

I'm developing a plugin to be used with a gmf-generated editor. I need the
feature that some function is executed, when clicking on a node in the
editor and the corresponding node should be handed over.
I don't have an idea where to start, so any help is highly appreciated.

Thanks in advance!

Regards,
Johannes Koehler
Re: Action upon node selection [message #174577 is a reply to message #174484] Wed, 27 February 2008 14:22 Go to previous message
Boris Blajer is currently offline Boris BlajerFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Johannes,

Use EditPartListener#selectedStateChanged(...).

Best regards,
Boris

Johannes Koehler wrote:
> Hello,
>
> I'm developing a plugin to be used with a gmf-generated editor. I need the
> feature that some function is executed, when clicking on a node in the
> editor and the corresponding node should be handed over.
> I don't have an idea where to start, so any help is highly appreciated.
>
> Thanks in advance!
>
> Regards,
> Johannes Koehler
>
>
Previous Topic:Custom Decoration
Next Topic:How to show/hide different attributes in a label or show/hide different labels depending on apperean
Goto Forum:
  


Current Time: Sat Apr 27 02:37:20 GMT 2024

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

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

Back to the top