// We wrap the section part inside an empty composite so that we can
// apply TableWrapData to the section part and constrain it's
// maximum size. Applying the TableWrapData directly to the section
// part would otherwise cause a ClassCastException.
SectionPart sectionPart = new SectionPart(wrapper, toolkit, style);
Section templateSection = sectionPart.getSection();
templateSection
.setText(Messages.getString("AbstractConfigMasterDetailsBlock.COMMON_ACTIONS_SECTION_TITLE")); //$NON-NLS-1$
ScrolledComposite scroll = new ScrolledComposite(templateSection, SWT.V_SCROLL);
GC gc = new GC(scroll);