public void handleTransferEvent(final IFileTransferEvent event) {
// Only handle send done event. If custom UI handling for other
// events is desired...e.g. progress reporting or other handling
// then a custom IFileTransferListener should be provided.
if (event instanceof IOutgoingFileTransferSendDoneEvent) {
final IOutgoingFileTransferSendDoneEvent oftsde = (IOutgoingFileTransferSendDoneEvent) event;
final Exception errorException = oftsde.getSource().getException();
Display.getDefault().asyncExec(new Runnable() {
public void run() {
if (errorException == null) {
MessageDialog.openInformation(null, Messages.getString("AbstractFileSendAction.TITLE_FILE_TRANSFER_SUCESSFUL"), //$NON-NLS-1$
NLS.bind(Messages.getString("AbstractFileSendAction.MESSAGE_FILE_TRANSFER_SUCCESSFUL"), //$NON-NLS-1$