overlayKeys.toArray(keys);
return keys;
}
public Control createControl(Composite parent) {
ScrolledPageContent scrolled = new ScrolledPageContent(parent,
SWT.H_SCROLL | SWT.V_SCROLL);
scrolled.setExpandHorizontal(true);
scrolled.setExpandVertical(true);
Composite control = new Composite(scrolled, SWT.NONE);
GridLayout layout = new GridLayout();
control.setLayout(layout);
Composite autoCloseComposite;
autoCloseComposite = createSubsection(control,
PHPUIMessages.typingPage_autoClose_title);
addAutoclosingSection(autoCloseComposite);
Composite smartPasteSection;
smartPasteSection = createSubsection(control,
PHPUIMessages.typingPage_smartPaste_title);
addSmartPasteSection(smartPasteSection);
Composite smartTabSection;
smartTabSection = createSubsection(control,
PHPUIMessages.typingPage_smartTab_title);
addSmartTabSection(smartTabSection);
scrolled.setContent(control);
final Point size = control.computeSize(SWT.DEFAULT, SWT.DEFAULT);
scrolled.setMinSize(size.x, size.y);
return scrolled;
}