final Button crsButton = new Button(composite, SWT.BORDER);
crsButton.setText(Messages.GraticuleCRSConfigurator_Select);
crsButton.addSelectionListener(new SelectionAdapter(){
public void widgetSelected( SelectionEvent e ) {
CoordinateReferenceSystem crs = getCRS(getStyle());
CRSChooserDialog dialog = new CRSChooserDialog(crsButton.getShell(), crs);
int code = dialog.open();
if (Window.OK == code) {
try {
crs = dialog.getResult();
crsText.setText(EPSG+CRS.lookupEpsgCode(crs,false));
} catch (FactoryException ex) {
MapGraphicPlugin.log(Messages.GraticuleGraphic_Error, ex);
getLayer().setStatus(Layer.ERROR);
getLayer().setStatusMessage(ex.getMessage());