setLayout(layout);
setLayoutData(new GridData(GridData.FILL_BOTH));
PixelConverter conv = new PixelConverter(this);
ScrolledCompositeImpl scrolledCompositeImpl = new ScrolledCompositeImpl(
this, SWT.V_SCROLL | SWT.H_SCROLL);
scrolledCompositeImpl.setLayout(layout);
scrolledCompositeImpl.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite composite = new Composite(scrolledCompositeImpl, SWT.NONE);
layout = new GridLayout();
layout.marginHeight = 0;
layout.marginWidth = 0;
layout.numColumns = 2;
composite.setLayout(layout);
scrolledCompositeImpl.setContent(composite);
scrolledCompositeImpl.setFont(getFont());
GridData data = new GridData(GridData.FILL_BOTH);
data.widthHint = conv.convertWidthInCharsToPixels(50);
Control listControl = fMapList.getListControl(composite);
listControl.setLayoutData(data);
Control buttonsControl = fMapList.getButtonBox(composite);
buttonsControl.setLayoutData(new GridData(
GridData.HORIZONTAL_ALIGN_FILL
| GridData.VERTICAL_ALIGN_BEGINNING));
Point size = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT);
scrolledCompositeImpl.setMinSize(size.x, size.y);
updateButtonsEnablement();
}