|
Re: Fail to use node creation tool to add element [message #1690819 is a reply to message #1690436] |
Tue, 31 March 2015 13:34 |
|
Hello,
My first guess is that you created your first node creation tool for
ToolAdapter. It worked. Then you copied it to create the node creation
tool for Resource but did not update the field "Node Mapping" to the
Resource node mapping instead of the ToolAdapter node mapping. Can you
check it on the general tab of your tool?
Regards,
Steve
Le 27/03/2015 16:23, Da Zhang a écrit :
> I'm learning Sirius. This is a simple model.
> see attachment 1.png
> I have created VSM and visualized my metamodel successfully. Now I want to have node creation tools to add nodes.
> I am able to make the node creation tool for "adaptor" successfully.
> Here is details.
> see attachment 2.png
> I use the same way to create the other tool for "resource". Then it doesn't work. and the FeatureNotFound exceptions pop up.
> see attachment 3.png
>
> The "resources" reference is not feature for "ToolChain", but it is a reference for "adaptors". I set change context for this operation with "var:container". Here is detailed info for the create instance operation.
> see attachment 4.png
>
> I have saw many examples about how to use creation tool. I doesn't find any difference with those examples.
>
> I have been stocked by this issue for 2 days. Is there anyone can help me? Thank you very much!
>
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03309 seconds