Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Set model element properties in custom widget(How to set model properties from inside custom widget)
Set model element properties in custom widget [message #1792285] Sat, 14 July 2018 09:18 Go to next message
Cihan Sarp is currently offline Cihan SarpFriend
Messages: 4
Registered: July 2018
Junior Member
I managed to work basic custom widget using example from

When I click a model element in diagram, an empty table is displayed in properties view. Now I would like to customize this basic widget with a button to open a custom dialog and set model element properties according to user selections.

I could not understand how I can set model element properties inside custom widget. In Controller code refresh() method is called with a value expression but I don't know what it does and how to customize it.

Could you please give some direction about how to set model element property (such as basic String property) from inside custom widget code?

Re: Set model element properties in custom widget [message #1792460 is a reply to message #1792285] Wed, 18 July 2018 09:52 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member

Pierre Guilet - Obeo
Need training or professional services for Sirius?
Previous Topic:editExpression for Custom Widget
Next Topic:Create Instance in Tree Description
Goto Forum:

Current Time: Sat Feb 27 10:47:29 GMT 2021

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

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

Back to the top