manager.add(new AbstractDialogAction(Messages.AccountMenuTransfer)
{
@Override
Dialog createDialog()
{
return new TransferDialog(owner.getActiveShell(), owner.getClient(), account);
}
});
// show security related actions only if
// (a) a portfolio exists and (b) securities exist