final IService[] services = toService((Object[]) target);
display.asyncExec(new Runnable(){
public void run() {
FilteredItemsSelectionDialog dialog;
try {
dialog = new CharsetSelectionDialog(display.getActiveShell(), false,
getCharset(services[0]).name());
dialog.open();
final Charset newCharset = (Charset) dialog.getFirstResult();
if( newCharset!=null){
setNewCharset(services, newCharset);
}
} catch (IOException e) {