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 |
|
Le 28/05/2015 18:51, eunjung park a écrit :
> Hi,
>
Hi
> 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
> node.
> 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?
yes
> 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. [1] 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
>
>
Regards
Laurent
[1]
https://www.eclipse.org/sirius/doc/3.0.x/specifier/diagrams/Diagrams.html#tools
Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| |
Re: a node label cannot be saved when using Node Creation from a Palette. [message #1697167 is a reply to message #1697147] |
Tue, 02 June 2015 07:12 |
|
Yes thanks. I would be pleased if you could provide me the stack trace.
You can get it clicking "Details" when the pop up is displayed or in
"Error log" view.
Regards
Laurent
Le 02/06/2015 00:54, eunjung park a écrit :
> Hi, Laurent
>
> Thank to your help, I could solve the problem.
> After set the operation, I don't have any Null Pointer Exception.
> Do you still need also the exception?
> If then I will reproduce it and upload.
> By the way, how can I see the stack trace?
>
> Thanks and regards,
> Eunjung Park
>
Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| | |
Goto Forum:
Current Time: Sun Sep 22 03:41:21 GMT 2024
Powered by FUDForum. Page generated in 0.03639 seconds
|