Bug 517552 - [aird editor] Improve "Link with editor" precision between aird editor and model explorer
Summary: [aird editor] Improve "Link with editor" precision between aird editor and mo...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 5.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard: aird_editor model_explorer ux
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-05-31 10:01 EDT by Pierre-Charles David CLA
Modified: 2018-04-03 10:20 EDT (History)
0 users

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-05-31 10:01:59 EDT
When selecting a element from inside the aird editor, including a concrete semantic element, the "Model Explorer" (in "Link with editor" mode) will always simply select the parent aird (probably because it's the editor input). It should be synchronized more precisely on the corresponding item in the explorer.
Comment 1 Pierre-Charles David CLA 2017-06-02 06:06:37 EDT
Putting in 5.0.1, but only if the fix is obvious/small. If it requires more involved changes, this can be moved to 5.1.
Comment 2 Eclipse Genie CLA 2017-06-15 09:16:49 EDT
New Gerrit change created: https://git.eclipse.org/r/99398
Comment 3 Pierre-Charles David CLA 2017-06-22 04:19:03 EDT
Moving to 5.1, as it's actually rather tricky to get right, and introduces risks of regressions in the standard model explorer synchronization code.

It may be a better idea to split it in two:
* the "Models" component (minus the "Project Dependencies" item), for which the expected behavior is well defined and should be possible to implement safely;
* the "Representations" model, which is more tricky (and less useful), as it contains elements likes viewpoints and representation categories which may appear in different sessions, and thus exist in multiple instances in the Model Explorer.