Skip to main content



      Home
Home » Eclipse Projects » Sirius » Semantic Element of the variable ContainerView(How to access the Semantic Element of the variable ContainerView)
Semantic Element of the variable ContainerView [message #1780626] Wed, 24 January 2018 20:02 Go to next message
Eclipse UserFriend
Hi,

How can I access the Semantic Element of the variable ContainerView in the field: Semantic Candidate Expression?

[Updated on: Wed, 24 January 2018 20:13] by Moderator

Re: Semantic Element of the variable ContainerView [message #1780645 is a reply to message #1780626] Thu, 25 January 2018 04:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

As a general rule, whenever Sirius exposes a variable named "*View", it refers to an element of the Sirius internal representation model (which is an EMF model), and in particular to a DSemanticDecorator, which points to the semantic element represents with a reference named "target". So inside an expression you can simply use "containerView.target".

Regards,
Re: Semantic Element of the variable ContainerView [message #1780670 is a reply to message #1780645] Thu, 25 January 2018 10:39 Go to previous message
Eclipse UserFriend
Hi Pierre-Charles,

Thanks for the fast replay.
I'll try this reference.

Regards
Previous Topic:How to add keyboard shortcut for Operation Action
Next Topic:Open Diagram programmatically
Goto Forum:
  


Current Time: Sat Jul 12 22:54:30 EDT 2025

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

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

Back to the top