Setting properties into GMF [message #221594] |
Mon, 16 March 2009 22:12 |
Eclipse User |
|
|
|
Originally posted by: ralph.schreder.gmx.de
My task is to update a label of a node in my gmf diagram editor, like
the property view.
In my program I double click on a node. Than a dialog opens. Now I type
the values into this dialog.
After finishing the dialog I want to transfer the dialog parameters into
the gmf model.
How should I do this?
Thanks,
Ralph
|
|
|
|
Re: Setting properties into GMF [message #221721 is a reply to message #221624] |
Tue, 17 March 2009 14:50 |
Eclipse User |
|
|
|
Originally posted by: ralph.schreder.gmx.de
Thanks for your answer. But I think, this is not enough. My GMF diagram
model and figures have to be also updated. So I need a transaction.
- Ralph
Alex Shatalin schrieb:
> Hello Ralph,
>
> Just get the model element from current selection and set property value
> into it using EMF-generated api..
>
> -----------------
> Alex Shatalin
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02896 seconds