button.setLayoutData(new GridData());
button.setText(Messages.CharSetFieldEditor_select);
button.addListener(SWT.Selection, new Listener(){
public void handleEvent( Event event ) {
CharsetSelectionDialog dialog = new CharsetSelectionDialog(parent.getShell(), false, text.getText());
dialog.open();
text.setText(((Charset) dialog.getFirstResult()).name());
store();
}
});
}