if (page instanceof ViewPropertySheetPage) {
ViewPropertySheetPage sheetPage = (ViewPropertySheetPage) page;
IViewPage viewPage = sheetPage.getView();
if (viewPage instanceof ISection) {
ISection section = (ISection) viewPage;
section.aboutToBeShown();
}
}
} catch (Throwable t) {
Activator.getLogger().warning("aboutToBeShown() Failed with: " + t, t);
}