public Control createDialogArea(Composite parent) { Composite contents = (Composite) super.createDialogArea(parent); createMessageArea(contents); createFilterText(contents); createLabel(contents, fUpperListLabel); createFilteredList(contents); createLabel(contents, fLowerViewLabel); createLowerView(contents); setListElements(fElements); List initialSelections = getInitialElementSelections(); if (!initialSelections.isEmpty()) { Object element = initialSelections.get(0); setSelection(new Object[] {element}); } return contents; }