createPageControls
public void createPageControls(Composite pageContainer)
-
The
Wizardimplementation of thisIWizardmethod creates all the pages controls usingIDialogPage.createControl. Subclasses should reimplement this method if they want to delay creating one or more of the pages lazily. The framework ensures that the contents of a page will be created before attempting to show it.
该方法使用IDialogPage.createControl的方式创建所有的pages。如果想延迟加载Wizard中的一个或者多个的page那么应该重写该方法。编程框架能保证一个页在其内容在展现它之前被创建。
本文介绍了一个Wizard实现中createPageControls方法的作用及使用方式。此方法用于创建Wizard页面的所有控件,并可以通过重写来实现页面的懒加载。
654

被折叠的 条评论
为什么被折叠?



