Bug 430579 - feature:eAllContents by default for Tree, like for diagram
Summary: feature:eAllContents by default for Tree, like for diagram
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Tree (show other bugs)
Version: 1.0.0M7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.0.0M7   Edit
Assignee: Pierre-Charles David CLA
QA Contact: Maxime Porhel CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-03-18 01:47 EDT by Michael Vorburger CLA
Modified: 2014-05-12 03:45 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Vorburger CLA 2014-03-18 01:47:59 EDT
For newbies (like me), it would help to avoid stupid mistakes which have catastrophic impacts on run-time performance if a New Tree Element > Tree Item had a DEFAULT Semantic Candidate Expression of feature:eAllContents - just like a New Diagram Element > Sub Node Mapping already does.
Comment 1 Pierre-Charles David CLA 2014-04-14 04:22:05 EDT
Agreed on principle, we'll just have to be careful on how exactly we implement this to avoid changing the semantics of existing tree diagrams where the semanticCandidatesExpression is not set.
Comment 2 Cedric Brun CLA 2014-04-14 04:35:37 EDT
Just updating the ItemProvider would do the trick and avoid impacting all the .odesign which are already in the wild.
Comment 3 Pierre-Charles David CLA 2014-04-22 08:50:44 EDT
See https://git.eclipse.org/r/25346
Comment 4 Pierre-Charles David CLA 2014-04-25 10:43:23 EDT
Fixed by 93515a9c89a68fa6445dd2be81616791771ac1c0.
Comment 5 Pierre-Charles David CLA 2014-05-12 03:45:40 EDT
Available in Sirius 1.0.0M7 (see https://wiki.eclipse.org/Sirius/1.0.0M7 & http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tag/?id=v1.0.0M7).