Home » Eclipse Projects » Sirius » a node label cannot be saved when using Node Creation from a Palette.
|Re: a node label cannot be saved when using Node Creation from a Palette. [message #1697045 is a reply to message #1696814]
||Mon, 01 June 2015 08:04
|| Laurent Fasani
Registered: October 2014
Le 28/05/2015 18:51, eunjung park a écrit :|
> Thank you so much to the Sirius Team for providing a good tool.
> I'm getting much help from the Sirius on defining my own language.
> By the way, I have another problem.
> When I created a node by using a icon in my palette, I could make a new
> However, when I edit the label of the node, the value wasn't saved.
> I just added a Node Creation in Viewpoint Specification and set mapping.
> Do I need to add other things?
> I tried to add "Direct Edit Label" like the 4-minute tutorial, but when
> I edit the label of a new node, it showed "Null Pointer Exception".
> Are there missing points?
> Please let me know.
Indeed, "Direct Edit Label" is the right way to edit and save the edited
value.  Use a "Set" operation to set the edited value on the feature.
But be careful, in Value Expression, use an expression like [arg0/] and
not $0 as it is wrongly indicated in the tooltip of "Edite Mask
Variables"/Mask is wrong.
About the NPE, could you provide us data to reproduce the issue and also
your complete stack trace.
> Thanks alot.
> Best Regards,
> Eunjung Park
Laurent Fasani - Obeo
Need training or professional services for Sirius?
Current Time: Wed Jan 27 19:38:58 GMT 2021
Powered by FUDForum
. Page generated in 0.02526 seconds