Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Preference dialog lazy page loading
Preference dialog lazy page loading [message #558786] Tue, 14 September 2010 12:30
Geejay is currently offline GeejayFriend
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?
Previous Topic:[Databinding] ComboViewer default selection
Next Topic:[Databinding] How to observe sub-element of an ObservableList
Goto Forum:
  


Current Time: Thu Apr 25 10:05:46 GMT 2024

Powered by FUDForum. Page generated in 0.02689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top