Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 465400

Summary: GenericTool does not declare the containerView variable
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: CoreAssignee: Cedric Brun <cedric.brun>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: normal    
Priority: P3 CC: maxime.porhel, pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.0M7   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/46423
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=915df21a09b35f257dda2c3a0d72d91b666151cf
Whiteboard:
Bug Depends on:    
Bug Blocks: 462490    

Description Cedric Brun CLA 2015-04-24 06:13:38 EDT
Looking at the implementation of GenericToolCommandBuilder.GenericToolCommandBuilder(ToolDescription, EObject)

a containerView variable is accessible in the context of the tool execution and precondition evaluation.

Though in the VSM it is not declared when validating or when calling the code assist.
Comment 1 Eclipse Genie CLA 2015-04-24 08:32:49 EDT
New Gerrit change created: https://git.eclipse.org/r/46423
Comment 3 Cedric Brun CLA 2015-04-27 08:08:19 EDT
Fixed for M7, tested through SiriusVariablesTest
Comment 4 Maxime Porhel CLA 2015-05-22 09:51:41 EDT
Validated on Sirius 3.0.0 RC1 (completion, validation and execution of the tool).
Comment 5 Pierre-Charles David CLA 2015-06-24 11:16:57 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.