Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Detecting custom value change
Detecting custom value change [message #163640] Mon, 03 December 2007 09:20 Go to next message
paolo russian is currently offline paolo russianFriend
Messages: 81
Registered: July 2009
Member
Hi, how can I detect in the "handleNotificationEvent" method the change of
a custom value, let's say a property name called "Hello"?
I'm trying to reverse some of the event.xxx feature.xxx values but none of
them seems to match my value.
Other test already present in this function do the following:

if (NotationPackage.eINSTANCE.getFontStyle_Underline().equals(
feature)) {

do something...
}

thanks you really much

Paolo Russian
Re: Detecting custom value change [message #163804 is a reply to message #163640] Mon, 03 December 2007 15:47 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Paolo,

You should write there something like:

if (<YourDomain>Package.eINSTANCE.get<MetaClassName>_Hello().equals(feature))
{
do something...
}

-----------------
Alex Shatalin
Previous Topic:The link between the nodes simply disappear
Next Topic:GMF integration
Goto Forum:
  


Current Time: Mon Nov 11 08:35:32 GMT 2024

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

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

Back to the top