|
Re: Can't Make Pop-up Menu ... uh pop-up [message #1725739 is a reply to message #1725115] |
Mon, 07 March 2016 11:21 |
|
Hello Brandon
My answers follow
Le 29/02/2016 23:49, Brandon Lewis a écrit :
> I have a diagram representation I'm trying to specify. I have
> successfully made it draw my model and I can create some basic stuff and
> connect some basic stuff. Your newest tutorial sets are very good.
> Thank you!
>
> Now I want to demo that I can make a generator and fire off some code
> generation from the picture. I have some of this working as an External
> Java Action already.
>
> In my tool Section, I have added a Pop-up menu with the Precondition
> literally set to the word "true" (because I have yet to figure out the
> very powerful, but initially very confusion expression/query language).
> The precondition is expecting a boolean right?
yes it expects a boolean. You can let it empty to set it to true by default
>
> There seems to be no amount of praying, cursing, or selecting anything I
> can do to make this mysterious Pop-up menu... pop-up an appear.
>
> I've put an Operation in the Pop-up menu. Nothing.
Check that you popup Menu and Operation action have a valid id.
A good practise is to launch validation (right click then validate) on
odesign element to verify that there is no error into it.
>
> What basic thing am I missing here? I just want a basic pop-up menu to
> pop up on Right Click that has a single Operation called "Generate
> Stuff" that calls an External Java Action (which I can do already).
Check that your extension has correctly been declared in your plugin
..xml [1] and that plugin is deployed on you runtime.
regards
Laurent
[1]
https://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#external_java_action
Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03720 seconds