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

Bug 471898

Summary: Make the multi-line expression edition dialog show context information
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: laurent.redor
Version: 3.0.0Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Pierre-Charles David CLA 2015-07-06 04:14:28 EDT
Since bug 463456 in 3.0, the VSM editor now proposes a multi-line dialog to edit long expressions. The new dialog *only* shows the text of the expression however, and nothing else. But in the context of such a dialog we should finally have enough space to show useful information to the user, and not just a few words visible only on a transient tooltip.

In particular, information that could/should now be made visible:
1. The "full" documentation of the expression.
2. The complete context: name, type and description of all available variables, including "self".
3. The expected return type.
4. Maybe some live validation status.

The title of the dialog should also reflect which expression is being edited, instead of the generic "Type your expression".