data1 = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
mappingAddButton.setLayoutData(data1);
mappingAddButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
Mapping attr = new Mapping();
attr.createNew(state);
if (DialogUtils.openPropertiesDialog(state, attr, true) == Dialog.OK) {
mappings.add(attr);
mappingViewer.refresh(true);
}
}