Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » [GMF] Set Attributes dependant to another Attribute
[GMF] Set Attributes dependant to another Attribute [message #767271] Sat, 17 December 2011 09:02 Go to next message
Eclipse UserFriend
Hello,

i got the following problem.
I already asked at Eugenia Forum but this seems to be a more GMF related question.

I have a Node A with two Attributes AttributeA and AttributeB.

Attribute A references another Node.
When Attribute A is changed to another Node, AttributeB should be changed to a corresponding Attribute of the Node from Attribute A.

In other words : The AttributeB of NodeA should be dynamically set to the specific Attribute of the Node in AttributeA

Whats the best way to do this ?
Are there any listeners ?
Or can i even do that in gmfmap oder gmfgraph ?

Thanks in advance.
Re: [GMF] Set Attributes dependant to another Attribute [message #767606 is a reply to message #767271] Sun, 18 December 2011 08:27 Go to previous messageGo to next message
Eclipse UserFriend
any suggestions ? anybody has done something like this before ?
Re: [GMF] Set Attributes dependant to another Attribute [message #767616 is a reply to message #767606] Sun, 18 December 2011 08:48 Go to previous messageGo to next message
Eclipse UserFriend
You're asking this same question in the EMF newsgroup, aren't you?

On 18/12/2011 2:27 PM, Snakebyte wrote:
> any suggestions ? anybody has done something like this before ?
Re: [GMF] Set Attributes dependant to another Attribute [message #767635 is a reply to message #767616] Sun, 18 December 2011 09:38 Go to previous messageGo to next message
Eclipse UserFriend
jup because i was told this is a more related emf question.
But i think its both.
Re: [GMF] Set Attributes dependant to another Attribute [message #767658 is a reply to message #767635] Sun, 18 December 2011 10:58 Go to previous message
Eclipse UserFriend
Notification is purely an EMF thing.

On 18/12/2011 3:39 PM, Snakebyte wrote:
> jup because i was told this is a more related emf question.
> But i think its both.
Previous Topic:Constraint on Node Mapping does not actually restrict user from adding the item
Next Topic:How to handle domain update in GMF?
Goto Forum:
  


Current Time: Fri Nov 07 12:59:44 EST 2025

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

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

Back to the top