Hermes.ui.getDefaultMessageSink().add(messages.size() + TextUtils.plural(messages.size()) + " messages copied to clipboard, now deleting.");
if (browserAction instanceof MessageStoreBrowserAction)
{
final MessageStoreBrowserAction storeAction = (MessageStoreBrowserAction) browserAction;
HermesBrowser.getBrowser().getActionFactory().createDeleteFromMessageStoreAction(storeAction.getMessageStore(),
browserAction.getSelectedMessages(), false);
}
else
{
HermesBrowser.getBrowser().getActionFactory().createTruncateAction(browserAction.getHermes(), browserAction.getConfig(),