com.itmill.toolkit.terminal.gwt.client
Class ApplicationConfiguration
java.lang.Object
com.itmill.toolkit.terminal.gwt.client.ApplicationConfiguration
public class ApplicationConfiguration
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationConfiguration
public ApplicationConfiguration()
getRootPanelId
public String getRootPanelId()
getApplicationUri
public String getApplicationUri()
getPathInfo
public String getPathInfo()
getThemeUri
public String getThemeUri()
setAppId
public void setAppId(String appId)
setInitialWindowName
public void setInitialWindowName(String name)
getInitialWindowName
public String getInitialWindowName()
getVersionInfoJSObject
public com.google.gwt.core.client.JavaScriptObject getVersionInfoJSObject()
getCommunicationErrorCaption
public String getCommunicationErrorCaption()
getCommunicationErrorMessage
public String getCommunicationErrorMessage()
getCommunicationErrorUrl
public String getCommunicationErrorUrl()
initConfigurations
public static void initConfigurations(WidgetSet widgetset)
- Inits the ApplicationConfiguration by reading the DOM and instantiating
ApplicationConenctions accordingly. Call
startNextApplication()
to actually start the applications.
- Parameters:
widgetset
- the widgetset that is running the apps
startNextApplication
public static boolean startNextApplication()
- Starts the next unstarted application. The WidgetSet should call this
once to start the first application; after that, each application should
call this once it has started. This ensures that the applications are
started synchronously, which is neccessary to avoid session-id problems.
- Returns:
- true if an unstarted application was found
getRunningApplications
public static List<ApplicationConnection> getRunningApplications()
getConfigFromDOM
public static ApplicationConfiguration getConfigFromDOM(String appId)
getServletVersion
public String getServletVersion()
getApplicationVersion
public String getApplicationVersion()
Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.