Basic Dialog Example? Where? Set the name of a created object. [message #1829261] |
Mon, 29 June 2020 15:21  |
Eclipse User |
|
|
|
I'm trying to find a very basic example of using a dialog. I have a node creation tool, and I'd like to pop a dialog up to allow the user to edit the name of the node before creating it.
I found an 11 second video on youtube for Sirius 5.0 that appears to do exactly this with the Family tutorial. I got very excited. Alas, there was no documentation and it just has a link to https://www.eclipse.org/sirius/ and I can't find any docs on dialogs other than two very brief paragraphs that mention "let" for setting a variable.
I can't find an example of a dialog in the Family tutorial that matches the video. The current family tutorial "cheats" and calculates the name for you without an intervention dialog.
I just need a basic example of figuring out how to get the value of a text field and use that variable/value in a set command on my model.
Seems easy, but I can't seem to get it right.
An easy example -> What's the "weird" thing I have to type in the set command to access a text field in my dialog?
[Updated on: Mon, 29 June 2020 23:52] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04077 seconds