Package org.pentaho.mantle.client
Class MantleApplication
java.lang.Object
org.pentaho.mantle.client.MantleApplication
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,MantleSettingsLoadedEventHandler
,UserSettingsLoadedEventHandler
public class MantleApplication
extends Object
implements UserSettingsLoadedEventHandler, MantleSettingsLoadedEventHandler
Entry point classes define
onModuleLoad()
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static com.google.gwt.user.client.ui.AbsolutePanel
static boolean
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gwt.event.shared.HandlerRegistration
addHandler
(String type, com.google.gwt.core.client.JavaScriptObject handler) com.google.gwt.user.client.ui.DeckPanel
static MantleApplication
static UserDropDown
Get the UserDropDownstatic void
static void
void
static void
void
notifyGlasspaneListeners
(boolean isShown) void
void
void
pucToolBarVisibility
(boolean visible) static void
removeHandler
(com.google.gwt.event.shared.HandlerRegistration handler) void
setContentDeck
(com.google.gwt.user.client.ui.DeckPanel contentDeck) void
setupNativeHooks
(MantleApplication mantle, LoginCommand loginCmd) static void
setWhitelistedHosts
(List<String> hosts) static void
showBusyIndicator
(String title, String message) static void
showBusyIndicatorById
(String title, String message, String id)
-
Field Details
-
mantleRevisionOverride
-
submitOnEnter
public static boolean submitOnEnter -
overlayPanel
public static com.google.gwt.user.client.ui.AbsolutePanel overlayPanel
-
-
Method Details
-
getInstance
-
loadApplication
public void loadApplication() -
setupNativeHooks
-
addHandler
public static com.google.gwt.event.shared.HandlerRegistration addHandler(String type, com.google.gwt.core.client.JavaScriptObject handler) -
showBusyIndicator
-
hideBusyIndicator
public static void hideBusyIndicator() -
showBusyIndicatorById
-
hideBusyIndicatorById
-
log
-
notifyGlasspaneListeners
public void notifyGlasspaneListeners(boolean isShown) -
onUserSettingsLoaded
- Specified by:
onUserSettingsLoaded
in interfaceUserSettingsLoadedEventHandler
-
onMantleSettingsLoaded
- Specified by:
onMantleSettingsLoaded
in interfaceMantleSettingsLoadedEventHandler
-
getContentDeck
public com.google.gwt.user.client.ui.DeckPanel getContentDeck() -
getUserDropDown
Get the UserDropDown- Returns:
- UserDropDown
-
setWhitelistedHosts
-
getWhitelistedHosts
-
setContentDeck
public void setContentDeck(com.google.gwt.user.client.ui.DeckPanel contentDeck) -
pucToolBarVisibility
public void pucToolBarVisibility(boolean visible)
-