Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Updating model element properties with Sirius.
Updating model element properties with Sirius. [message #1787430] Fri, 25 May 2018 09:07 Go to next message
Christoforos Zolotas is currently offline Christoforos ZolotasFriend
Messages: 10
Registered: March 2015
Junior Member
Hello everybody,

I have created successfully with Sirius a tool to create instance models for my meta-model with the desired functionality up to now. What I am failing to do right now, is to find a way to update a property X of a model element, when the user changes an attribute Y of the same model element through the Properties View.

As an example please consider the screenshot below. What should I do to update the property name, when the user changes the type property?

Thank you in advance for any help and hints.

Regards,
Christoforos
Re: Updating model element properties with Sirius. [message #1787444 is a reply to message #1787430] Fri, 25 May 2018 13:01 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
Hi,
You need to change the begin operation to do what you need.
Please find attached a simple example. When you click on the checkbox Abstract, "_abstract" or "_notAbstract" is added at the end of the class name.

Regards,

Laurent


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Reconnecting Source Problems
Next Topic:No suggest var:NewValue
Goto Forum:
  


Current Time: Thu Apr 25 07:53:09 GMT 2024

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

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

Back to the top