|
Re: EMF-Databinding and associated attributes [message #1124537 is a reply to message #1123620] |
Thu, 03 October 2013 16:38 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Yigal,
Data binding used things like SetCommand.create which delegate to the
generated item providers for you model, so you can specialize behavior
by specializing the command created by createSetCommand in the item
provider of the class containing this feature.
On 02/10/2013 9:19 PM, Yigal Spinner wrote:
> I'm trying to create EMF binding and have the ability to impact
> another related attribute in the same class that logically relates to
> the current attribute.
> The idea is to have the "Undo" and "Redo" modify both attributes (i.e.
> have a way to create a compound command).
> For example, if I have two check boxes, one is called "Required" and
> the other is called "Nullable". Then if the item is required it can
> not be nullable. I would like to have a listener on the modification
> of the "Required" field and add a command to reset and disable the
> "Nullable" field.
>
> Does EMF binding support such functionality?
>
> Thanks Yigal
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03017 seconds