mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Merge branch 'design2015' into design2015-user-management
This commit is contained in:
commit
e5798f89fe
228 files changed
+6244
-6114
No files matched your search
+11
@@ -1,6 +1,8 @@
|
||||
package com.sap.sse.security.ui.client;
|
||||
|
||||
import com.google.gwt.core.client.EntryPoint;
|
||||
import com.google.gwt.dom.client.Document;
|
||||
import com.google.gwt.dom.client.Element;
|
||||
import com.sap.sse.gwt.client.StringMessages;
|
||||
|
||||
/**
|
||||
@@ -15,8 +17,17 @@ import com.sap.sse.gwt.client.StringMessages;
|
||||
public abstract class AbstractSecureEntryPoint<S extends StringMessages> extends com.sap.sse.gwt.client.AbstractEntryPoint<S> implements WithSecurity {
|
||||
private WithSecurity securityProvider;
|
||||
|
||||
/**
|
||||
* Initializes the {@link UserManagementService} and removes the optional loading indicator from the DOM which is
|
||||
* identified by the "loading" ID. See the Home.html or AdminConsole.html entry point implementations for examples
|
||||
* of how such a loading indicator can nicely be implemented.
|
||||
*/
|
||||
protected void doOnModuleLoad() {
|
||||
securityProvider = new DefaultWithSecurityImpl();
|
||||
final Element optionalLoadingIndicator = Document.get().getElementById("loading");
|
||||
if (optionalLoadingIndicator != null) {
|
||||
optionalLoadingIndicator.removeFromParent();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user