Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Thu, 25 January 2018 01:02 Go to next message
Marzina Bezerra is currently offline Marzina BezerraFriend
Messages: 4
Registered: November 2016
Junior Member
Hi,

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

[Updated on: Thu, 25 January 2018 01:13]

Report message to a moderator

Re: Semantic Element of the variable ContainerView [message #1780645 is a reply to message #1780626] Thu, 25 January 2018 09:07 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 522
Registered: July 2009
Senior Member
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,


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Semantic Element of the variable ContainerView [message #1780670 is a reply to message #1780645] Thu, 25 January 2018 15:39 Go to previous message
Marzina Bezerra is currently offline Marzina BezerraFriend
Messages: 4
Registered: November 2016
Junior Member
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: Tue Apr 07 04:40:04 GMT 2020

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

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

Back to the top