Preference dialog lazy page loading [message #558786] |
Tue, 14 September 2010 12:30 |
Geejay Messages: 160 Registered: February 2010 |
Senior Member |
|
|
Can someone explain to me how the preference dialog lazily creates the
preference pages?
Specifically, in the PreferenceDialog class, the method protected boolean
showPage(IPreferenceNode node) { } presumably creates the page using the
pageContainer, which is a composite.
I have tried doing the same thing, by setting the visibility on the child
pages that do not apply to false, however this just creates one large
preference page with some big gaps where the non-applicable pages are
hidden.
Is there some way to just create a temporary container that I just swap in
(change the parent) whenever I need to display it?
|
|
|
Powered by
FUDForum. Page generated in 0.02689 seconds