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

Bug 325849

Summary: [Model] Need an MArea element
Product: [Eclipse Project] e4 Reporter: Eric Moffatt <emoffatt>
Component: UIAssignee: Thomas Schindl <tom.schindl>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tom.schindl
Version: unspecified   
Target Milestone: 4.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 324957, 325864    
Attachments:
Description Flags
patch none

Description Eric Moffatt CLA 2010-09-21 09:32:08 EDT
I've gotten an initial implementation for an Editor Area up by hacking the SashRenderer to look for a specific 'area' tag but I don't think that's the right way to go.

We need labeling info for areas, both to show in the UI as well as when the area is minimized...

I'd say a new element MArea that inherits both MPSC & MUILabel should do it...??
Comment 1 Thomas Schindl CLA 2010-09-21 09:40:57 EDT
Some initial thoughts:
a) Naming: MArea - not sure i like the name
b) Why not simply adding MUILabel to PSC?
Comment 2 Thomas Schindl CLA 2010-09-21 10:03:19 EDT
Created attachment 179314 [details]
patch

An initial version - is my assumption correct that UILabel is needed to display the area in the Trim? 

I've added the MArea to the advanced package - is that ok with you?
Comment 3 Thomas Schindl CLA 2010-09-21 10:52:40 EDT
released to head
Comment 4 Eric Moffatt CLA 2010-09-22 14:03:54 EDT
Tom, I've made a slight change...the EClass in the ecore should just have been 'Area'. This lead to an MMArea interface backed by an MAreaImpl... which is different to the other classes.

Committed in >20100922. Rename the new EClass 'Area' to bring it in line with the rest of the model.
Comment 5 Eric Moffatt CLA 2010-10-26 15:27:01 EDT
Verified in I20101026-0203.