This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 429728 - Support STYLE_OVERRIDE_KEY for StackRenderer
Summary: Support STYLE_OVERRIDE_KEY for StackRenderer
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 4.4 M7   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
: 405681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-06 00:40 EST by Lars Vogel CLA
Modified: 2014-04-07 06:31 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2014-03-06 00:40:05 EST
Bug 398027 introduced IPresentationEngine.STYLE_OVERRIDE_KEY to define the style-bits of the SWT window. 

Quote:
------------
The new persistent data key 'STYLE_OVERRIDE_KEY' allows for a contract between a renderer and someone using this key on a ui element. So far I've only implemented the code to respect the new overrides in the WBWRenderer but there you can simply define the SWT flags you want in an 'int' and store the string version in the MWindow's peristentData map.
------------

I suggest to introduce the same for the StackRenderer, which would allow us for example to solve Bug 405681.
Comment 1 Lars Vogel CLA 2014-03-06 00:53:05 EST
https://git.eclipse.org/r/22961
Comment 3 Lars Vogel CLA 2014-03-07 14:56:20 EST
*** Bug 405681 has been marked as a duplicate of this bug. ***
Comment 4 Lars Vogel CLA 2014-03-07 14:56:49 EST
.
Comment 5 Eric Moffatt CLA 2014-03-10 10:20:30 EDT
Thanks Lars, looks great ! You'll have to show me how you use this at EclipseCon.
Comment 6 Lars Vogel CLA 2014-04-07 06:31:41 EDT
Verified in Build id: I20140402-0100