Bug 486160 - element and elementView variables should be available in the generic tool precondition
Summary: element and elementView variables should be available in the generic tool pre...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.0.0M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 485136
  Show dependency tree
 
Reported: 2016-01-20 04:56 EST by Cedric Brun CLA
Modified: 2016-06-24 08:00 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Brun CLA 2016-01-20 04:56:08 EST
in GenericToolCommandBuilder.checkGenericToolPrecondition(IInterpreter) an InitInterpreterVariablesTask is added and will value the element and elementView variables before checking the precondition.

This is not reflected in the Validation code.
Comment 1 Eclipse Genie CLA 2016-01-20 05:39:25 EST
New Gerrit change created: https://git.eclipse.org/r/64751
Comment 3 Cedric Brun CLA 2016-01-22 05:31:00 EST
This is fixed for Sirius 4.0 and will be shipped with M5.

Test is VSMVariableTypesValidationTest
Comment 4 Florian Barbin CLA 2016-05-20 12:05:53 EDT
Verified on Sirius 4.0.0.201605180923 by using the VSMVariableTypesValidationTest odesign.
Comment 5 Pierre-Charles David CLA 2016-06-24 08:00:18 EDT
Available in Sirius 4.0.0.