- Label lblNoDataLabel = new Label(this, SWT.NONE);
- lblNoDataLabel.setText("No Data Available");
+
//lblNoDataLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
createNoDataCombo(this);
valuesComposite.setLayout(new GridLayout(1, false));
Button addNewState = new Button(valuesComposite, SWT.NONE);
+ addNewState.setLayoutData(new GridData(SWT.RIGHT, SWT.FILL, true, true, 1,1));
+
addNewState.setImage(ImageResources.getImage(ImageResources.ADD_ICON));
//new Label(composite_2, SWT.NONE);
addNewState.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
composite_2.dispose();
stateList.remove(selectedState);
+ valuesComposite.getShell().redraw();
+ valuesComposite.getShell().pack();
}
});