pageBook.setLayoutData(new GridData(GridData.FILL_BOTH));
// Create root page in root page layout form, only if needed.
if (sharedStyleManager.useCustomHomePagelayout()) {
// if we do not have a root page form, create one
RootPageForm rootPageForm = new RootPageForm(toolkit, model, form);
rootPageForm.createPartControl(pageBook, sharedStyleManager);
rootPageForm.setContentProviderSite(this);
}
// Create the two Page forms .
pageForm = new PageForm(toolkit, model, form);
pageForm.setContentProviderSite(this);