/*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
app = _app;
// Set the dialog's caption.
setText("Session Expired");
- setAnimationEnabled(true);
setGlassEnabled(true);
setStyleName("pithos-DialogBox");
// when the button is clicked.
Button confirm = new Button("Proceed", new ClickHandler() {
@Override
- public void onClick(@SuppressWarnings("unused") ClickEvent event) {
+ public void onClick(ClickEvent event) {
app.authenticateUser();
hide();
}
app.authenticateUser();
hide();
break;
- case KeyCodes.KEY_ESCAPE:
- hide();
- break;
}
}
-
-
-
}