Skip to main content



      Home
Home » Eclipse Projects » Sirius » Create an own node type
Create an own node type [message #1805551] Wed, 17 April 2019 04:32 Go to next message
Eclipse UserFriend
Hi,

is there any possibility to create an own node (not a style) like a "Sub Node" for a "Container" or does a tutorial exist for this?

Regards,

Marvin
Re: Create an own node type [message #1805552 is a reply to message #1805551] Wed, 17 April 2019 04:44 Go to previous messageGo to next message
Eclipse UserFriend
Hello Marvin,

What is your need exactly?
I'm not sure to understand what you want.
It's possible to define a new dialect with Sirius using the Sirius extension point but I'm not sure that correspond to your need.

Regards,
Re: Create an own node type [message #1805554 is a reply to message #1805552] Wed, 17 April 2019 07:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi Julien,

i have still the same problem which I posted in another topic (https://www.eclipse.org/forums/index.php/t/1098363/). There was no reply after my last post. Therefore, I think this problem can not be solved by the Semantic Candidates Expression. My idea is to set up a new node type which provides the needed information for solving the problem.

Regards,

Marvin
Re: Create an own node type [message #1805591 is a reply to message #1805554] Thu, 18 April 2019 05:29 Go to previous message
Eclipse UserFriend
Hi Marvin,

As you have 2 cases you must indeed define 2 mappings. You must use the precondition expression for the 2 mappings.
The semantic candidates expression correspond for Sirius at : "How, from my context I can retrieve the elements corresponding to my Domain Class"
The precondition expression is "From my context, I must applied this condition"

Regards,
Previous Topic:Show subnodes(children) of Candiadates in SelectionWizard
Next Topic:Add viewpoint to Sirius server and use it
Goto Forum:
  


Current Time: Sat Jul 12 20:52:01 EDT 2025

Powered by FUDForum. Page generated in 0.04802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top