public void handleAction(Object context) throws ApplicationException
{
if (context == null || !(context instanceof ConfigObject))
return;
Configuration config = ((ConfigObject) context).config;
if (config == null)
return;
try
{
if (!Application.getCallback().askUser(i18n.tr("Wollen Sie diesen Bank-Zugang wirklich l�schen?\nDie Konten, Auftr�ge und Ums�tze bleiben erhalten.")))
return;
}
catch (OperationCanceledException oce)
{
Logger.info("operation cancelled");
return;
}
catch (ApplicationException ae)
{
throw ae;
}
catch (Exception e)
{
Logger.error("unable to delete config",e);
throw new ApplicationException(i18n.tr("L�schen fehlgeschlagen: {0}",e.getMessage()));
}
config.delete();
// View neu laden
GUI.startView(GUI.getCurrentView(),null);
}
},"user-trash-full.png")