Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348871 - [xtext][outline] Better defaults for unnamed elements
Summary: [xtext][outline] Better defaults for unnamed elements
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: SR2   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 07:31 EDT by Sebastian Zarnekow CLA
Modified: 2017-09-19 18:12 EDT (History)
3 users (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2011-06-09 07:31:15 EDT
We could use the file name of the resource instead of the <unnamed> placeholder for the root element.

If a leaf is unnamed, we could skip that.

Both examples are taken from the FowlerDSL example.
Comment 1 Sebastian Zarnekow CLA 2011-06-09 07:31:41 EDT
Preliminary scheduled for SR1.
Comment 2 Jan Koehnlein CLA 2011-10-13 13:20:30 EDT
Pushed to master.

Note that due to the lazy calculation of children a node cannot know that all of its children will be skipped due to missing label texts. Consequently the "expand" button will be shown anyway if _isLeaf() is false.
Comment 3 Karsten Thoms CLA 2017-09-19 18:01:56 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 18:12:15 EDT
Closing all bugs that were set to RESOLVED before Neon.0