Bug 566257 - Option to construct CTabfolder items lazy on depend
Summary: Option to construct CTabfolder items lazy on depend
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-21 05:37 EDT by Lars Vogel CLA
Modified: 2020-08-21 05:37 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 2020-08-21 05:37:17 EDT
AFAIK CTabFolder will always create the content of its tabs immediately.

Would be nice to have the option to construct the tabs only on demand, e.g., if the user selects the tab.


Maybe CTabItem#setControl could get another method with a supplier which constructs the control on demand.

I think we have something similar done in our render with LazyTabRenderer.