{
GUI.startView(((Configuration) context).getConfigDialog(),context);
return;
}
Passport p = null;
if (context instanceof Passport)
{
p = (Passport) context;
}
else
{
try
{
p = (Passport) new PassportAuswahlDialog(PassportAuswahlDialog.POSITION_CENTER).open();
}
catch (ApplicationException ae)
{
throw ae;
}
catch (OperationCanceledException oce)
{
Logger.info("operation cancelled");
return;
}
catch (Exception e)
{
Logger.error("error while opening passport",e);
throw new ApplicationException(i18n.tr("Fehler beim Laden: {0}",e.getMessage()));
}
}
if (p == null)
return;
GUI.startView(p.getConfigDialog(),p);
}
catch (RemoteException e)
{
Logger.error("error while opening passport",e);
throw new ApplicationException(i18n.tr("Fehler beim Laden: {0}",e.getMessage()));