Skip to main content



      Home
Home » Eclipse Projects » Sirius » unrecognized variable 'container' in drop descripton
unrecognized variable 'container' in drop descripton [message #1636871] Thu, 26 February 2015 07:17
Eclipse UserFriend
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: Thu May 22 07:19:30 EDT 2025

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

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

Back to the top