data1 = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
data1.widthHint = 120;
addEvaluationButton.setLayoutData(data1);
addEvaluationButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
EvaluateAction action = new EvaluateAction();
action.createNew(parentElement);
action.setType(type);
if (DialogUtils.openPropertiesDialog(parentElement, action, true) == Dialog.OK) {
actions.add(action);
configsViewer.refresh();
}
}
});
addSetButton = new Button(buttonArea, SWT.PUSH);
addSetButton.setText("Add Set");
data1 = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
data1.widthHint = 120;
addSetButton.setLayoutData(data1);
addSetButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
Set action = new Set();
action.createNew(parentElement);
action.setType(type);
if (DialogUtils.openPropertiesDialog(parentElement, action, true) == Dialog.OK) {
actions.add(action);
configsViewer.refresh();
}
}