Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:02 Go to next message
Snakebyte Missing name is currently offline Snakebyte Missing nameFriend
Messages: 130
Registered: November 2011
Senior Member
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 13:27 Go to previous messageGo to next message
Snakebyte Missing name is currently offline Snakebyte Missing nameFriend
Messages: 130
Registered: November 2011
Senior Member
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 13:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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 ?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [GMF] Set Attributes dependant to another Attribute [message #767635 is a reply to message #767616] Sun, 18 December 2011 14:38 Go to previous messageGo to next message
Snakebyte Missing name is currently offline Snakebyte Missing nameFriend
Messages: 130
Registered: November 2011
Senior Member
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 15:58 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
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 Mar 29 15:59:39 GMT 2024

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

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

Back to the top