Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » unrecognized variable 'container' in drop descripton
unrecognized variable 'container' in drop descripton [message #1636871] Thu, 26 February 2015 12:17
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 193
Registered: June 2010
Senior Member
Hi,

I'm creating a container drop tool. Such tool provides a precondition that determines whether the tool is elligable for execution. According to the context sensitive help, I should be able to determine use 'container' as the semantic element representing the target where I drop my source element.

However, using that variable results in the following error:

!ENTRY org.eclipse.acceleo.parser 4 0 2015-02-26 13:11:29.146
!MESSAGE Compilation error for expression [self.oclIsKindOf(Type) and self.eContainer(DomainModel) = container/] : Unrecognized variable: (container)

How do I retrieve the semantic element representing the target in drop tool description?

Greetings,
Wilbert.
Previous Topic:Split programmatically the main representation into several representations
Next Topic:Defining Relation-based Edge for Xtext Domainmodel
Goto Forum:
  


Current Time: Sat Jun 06 04:55:07 GMT 2020

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

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

Back to the top