Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Listening on EditPart's label
Listening on EditPart's label [message #170082] Sun, 27 January 2008 17:04 Go to next message
Eclipse UserFriend
Hi All!

I ran into a new problem... ;-)

A have kind of a state machine represented in a GMF based editor. All States
(StateEditParts) have a label represented through the StateNameEditPart
class. Is it possible to listen on changes of the text of the
StateNameEditPart label? I tried it with a EditPartListener, but it is not
working...

Any ideas or hints ?

Kind regards,
Markus
Re: Listening on EditPart's label [message #170116 is a reply to message #170082] Sun, 27 January 2008 21:03 Go to previous message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
use org.eclipse.emf.common.notify.Adapter.

-stefan


Markus Gieser wrote:
> Hi All!
>
> I ran into a new problem... ;-)
>
> A have kind of a state machine represented in a GMF based editor. All States
> (StateEditParts) have a label represented through the StateNameEditPart
> class. Is it possible to listen on changes of the text of the
> StateNameEditPart label? I tried it with a EditPartListener, but it is not
> working...
>
> Any ideas or hints ?
>
> Kind regards,
> Markus
>
>
Previous Topic:How to extend the diagram xml/xmi file?
Next Topic:bug? strange behaviour of xpt-aspects
Goto Forum:
  


Current Time: Thu Apr 25 23:40:45 GMT 2024

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

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

Back to the top