validatorGroup.setLayout(new FillLayout());
GridData validatorListGridData = new GridData(GridData.FILL_BOTH);
validatorListGridData.widthHint = 200;
validatorGroup.setLayoutData(validatorListGridData);
this.validatorList = new List(validatorGroup, SWT.H_SCROLL |SWT.V_SCROLL | SWT.SINGLE);
// initPersisterArray();
initializePersisterList();
this.validatorList.addMouseListener(new MouseAdapter() {
public void mouseDoubleClick(MouseEvent mouseEvent) {
List list = (List)mouseEvent.getSource();
int selection = list.getSelectionIndex();
if (selection != -1) {
selectionMade(selection);
}
}
});
this.validatorList.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent selectionEvent) {
List list = (List)selectionEvent.getSource();
int selection = list.getSelectionIndex();
if (selection != -1) {
// updateDetailPane(validatorReferences[selection]);
}
}