Skip to main content



      Home
Home » Eclipse Projects » Sirius » Semantic candidates/precondition expressions for mapping imports
Semantic candidates/precondition expressions for mapping imports [message #1719815] Tue, 12 January 2016 04:44 Go to next message
Eclipse UserFriend
Hi,

When I use a mapping import, do I need to re-specify the semantic
candidates expression/precondition expressions in the import? Will
Sirius just fallback to the expressions of the imported mapping if I
leave the fields unset?

Thanks,
Felix
Re: Semantic candidates/precondition expressions for mapping imports [message #1720825 is a reply to message #1719815] Thu, 21 January 2016 04:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi Felix,

sorry for the delay :-)

The container mapping import and the node mapping import use their own
semantic candidate expressions and preconditions (they do not delegate
to the imported mapping if no expression is specified). That means if
noting is set, the semantic candidate expression will be interpreted as
"eContent()" by default.
It's not the case for the domain class that is delegated to the imported
mapping if none is set.

Regards,

--
Florian - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Semantic candidates/precondition expressions for mapping imports [message #1720829 is a reply to message #1720825] Thu, 21 January 2016 05:13 Go to previous messageGo to next message
Eclipse UserFriend
it's eAllContent() over all the resourceSet if the semantic candidate
expression is empty (not eContent())

On 01/21/2016 10:59 AM, Florian Barbin wrote:
> Hi Felix,
>
> sorry for the delay :-)
>
> The container mapping import and the node mapping import use their own
> semantic candidate expressions and preconditions (they do not delegate
> to the imported mapping if no expression is specified). That means if
> noting is set, the semantic candidate expression will be interpreted as
> "eContent()" by default.
> It's not the case for the domain class that is delegated to the imported
> mapping if none is set.
>
> Regards,
>


--
Florian - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Semantic candidates/precondition expressions for mapping imports [message #1721001 is a reply to message #1720829] Fri, 22 January 2016 06:43 Go to previous message
Eclipse UserFriend
On 21-Jan-16 11:13, Florian Barbin wrote:
> it's eAllContent() over all the resourceSet if the semantic candidate
> expression is empty (not eContent())

I see, so this too needs to be repeated.

Thanks,
Felix
Previous Topic:Enable layer programatically
Next Topic:Style customization for edge stroke colour
Goto Forum:
  


Current Time: Sat Jul 05 07:37:43 EDT 2025

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

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

Back to the top