onGenerateName();
}
});
/* Sashform dividing search definition from actions */
SashForm sashForm = new SashForm(parent, SWT.VERTICAL | SWT.SMOOTH);
sashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
/* Top Sash */
Composite topSash = new Composite(sashForm, SWT.NONE);
topSash.setLayout(LayoutUtils.createGridLayout(2, 0, 0, 0, 0, false));
createConditionControls(topSash);
/* Bottom Sash */
Composite bottomSash = new Composite(sashForm, SWT.NONE);
bottomSash.setLayout(LayoutUtils.createGridLayout(1, 0, 0, 0, 0, false));
/* Label in between */
Composite labelContainer = new Composite(bottomSash, SWT.NONE);
labelContainer.setLayout(LayoutUtils.createGridLayout(1, 10, 3, 0, 0, false));
((GridLayout) labelContainer.getLayout()).marginBottom = 2;
labelContainer.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
Label explanationLabel = new Label(labelContainer, SWT.NONE);
explanationLabel.setText(Messages.NewsFilterDialog_PERFORM_ACTIONS);
/* Action Controls */
createActionControls(bottomSash);
/* Separator */
new Label(bottomSash, SWT.SEPARATOR | SWT.HORIZONTAL).setLayoutData(new GridData(SWT.FILL, SWT.END, true, false));
/* Set weights to even */
sashForm.setWeights(new int[] { 50, 50 });
applyDialogFont(parent);
return parent;
}