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 defineonModuleLoad()
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
mantleRevisionOverride
static com.google.gwt.user.client.ui.AbsolutePanel
overlayPanel
static boolean
submitOnEnter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.gwt.event.shared.HandlerRegistration
addHandler(String type, com.google.gwt.core.client.JavaScriptObject handler)
com.google.gwt.user.client.ui.DeckPanel
getContentDeck()
static MantleApplication
getInstance()
static List<String>
getWhitelistedHosts()
static void
hideBusyIndicator()
static void
hideBusyIndicatorById(String id)
void
loadApplication()
static void
log(String message)
void
notifyGlasspaneListeners(boolean isShown)
void
onMantleSettingsLoaded(MantleSettingsLoadedEvent event)
void
onUserSettingsLoaded(UserSettingsLoadedEvent event)
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 Detail
-
mantleRevisionOverride
public static String mantleRevisionOverride
-
submitOnEnter
public static boolean submitOnEnter
-
overlayPanel
public static com.google.gwt.user.client.ui.AbsolutePanel overlayPanel
-
-
Method Detail
-
getInstance
public static MantleApplication getInstance()
-
loadApplication
public void loadApplication()
-
setupNativeHooks
public void setupNativeHooks(MantleApplication mantle, LoginCommand loginCmd)
-
addHandler
public static com.google.gwt.event.shared.HandlerRegistration addHandler(String type, com.google.gwt.core.client.JavaScriptObject handler)
-
removeHandler
public static void removeHandler(com.google.gwt.event.shared.HandlerRegistration handler)
-
hideBusyIndicator
public static void hideBusyIndicator()
-
showBusyIndicatorById
public static void showBusyIndicatorById(String title, String message, String id)
-
hideBusyIndicatorById
public static void hideBusyIndicatorById(String id)
-
log
public static void log(String message)
-
notifyGlasspaneListeners
public void notifyGlasspaneListeners(boolean isShown)
-
onUserSettingsLoaded
public void onUserSettingsLoaded(UserSettingsLoadedEvent event)
- Specified by:
onUserSettingsLoaded
in interfaceUserSettingsLoadedEventHandler
-
onMantleSettingsLoaded
public void onMantleSettingsLoaded(MantleSettingsLoadedEvent event)
- Specified by:
onMantleSettingsLoaded
in interfaceMantleSettingsLoadedEventHandler
-
getContentDeck
public com.google.gwt.user.client.ui.DeckPanel getContentDeck()
-
setContentDeck
public void setContentDeck(com.google.gwt.user.client.ui.DeckPanel contentDeck)
-
pucToolBarVisibility
public void pucToolBarVisibility(boolean visible)
-
-