Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Detecting custom value change
Detecting custom value change [message #163640] Mon, 03 December 2007 04:20 Go to next message
Eclipse UserFriend
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 10:47 Go to previous message
Eclipse UserFriend
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: Fri May 09 19:33:22 EDT 2025

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

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

Back to the top