use of org.eclipse.ui.part.PageSite in project tdi-studio-se by Talend.
the class AbstractJvmPropertySection method createControls.
/*
* @see AbstractPropertySection#createControls(Composite, TabbedPropertySheetPage)
*/
@Override
public final void createControls(Composite parent, final TabbedPropertySheetPage tabbedPropertySheetPage) {
super.createControls(parent, tabbedPropertySheetPage);
parent.setLayoutData(new GridData(GridData.FILL_BOTH));
pageBook = new PageBook(parent, SWT.NONE);
messagePage = createMessagePage(pageBook);
contentPage = new Composite(pageBook, SWT.NONE);
contentPage.setLayout(new FillLayout());
pageBook.showPage(contentPage);
propertySheet = getPropertySheet((PageSite) tabbedPropertySheetPage.getSite());
createControls(contentPage);
partListener = new PartListener(this, tabbedPropertySheetPage);
perspectiveListener = new PerspectiveListener(this, tabbedPropertySheetPage.getSite(), propertySheet);
JvmModel.getInstance().addJvmModelChangeListener(this);
suspendRefresh = false;
}
Aggregations