Bug 510637 - Review and improve the labels used for VSM elements in the VSM editor
Summary: Review and improve the labels used for VSM elements in the VSM editor
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 4.1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Next   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-01-18 10:38 EST by Pierre-Charles David CLA
Modified: 2018-08-21 09:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2017-01-18 10:38:07 EST
The labels currently used for most VSM elements are relatively poor in terms of information presented. This leads to a lot of clicking around to see the useful information: select the element in the editor, then find the property you're interested in in the property view, possible by selecting a different tab.

Without going overboard, it should be possible to increase the "information density" and make more information directly visible in the editor, without needing to "dig into the properties view". Some candidate for information that could be "pulled up" in the labels:
* domain classes for representation descriptions and mappings;
* semantic candidate expressions for mappings (these can be long, so some kind of limit should be put on the label size);
* label expression for styles;
* maybe some markers for special/unusual properties (e.g. "Unsynchronized" mappings).

These are just ideas, not to be taken as a spec of what will be done in the end.

Some aspects to take into account:
* a typical use case for a specifier is to have both the VSM and a sample representation opened at the same time along each other. We should avoid making the labels so long that they are not entirely visible in such a "split layout";
* since for Sirus 5.0 we'll drop support for Eclipse versions before Neon, we can assume the presence of a recent version of EMF, and if we deem it useful we can make use of IItemStyledLabelProvider (introduced in EMF 2.10) to put some style on our labels. This may become necessary to keep them easily parsable as we add more information to them.
Comment 1 Maxime Porhel CLA 2017-01-19 04:47:00 EST
After discussion with Pierre-Charles, this enhancement now targets Sirius 5.0 but it might be delayed to a later release.