com.itmill.toolkit.terminal.gwt.client
Class ApplicationConfiguration

java.lang.Object
  extended by com.itmill.toolkit.terminal.gwt.client.ApplicationConfiguration

public class ApplicationConfiguration
extends Object


Constructor Summary
ApplicationConfiguration()
           
 
Method Summary
 String getApplicationUri()
           
 String getApplicationVersion()
           
static ApplicationConfiguration getConfigFromDOM(String appId)
           
 String getPathInfo()
           
 String getRootPanelId()
           
 String getSerletVersion()
           
 String getThemeUri()
           
 com.google.gwt.core.client.JavaScriptObject getVersionInfoJSObject()
           
static void initConfigurations(WidgetSet widgetset)
          Inits the ApplicationConfiguration by reading the DOM and instantiating ApplicationConenctions accordingly.
 void setAppId(String appId)
           
static boolean startNextApplication()
          Starts the next unstarted application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationConfiguration

public ApplicationConfiguration()
Method Detail

getRootPanelId

public String getRootPanelId()

getApplicationUri

public String getApplicationUri()

getPathInfo

public String getPathInfo()

getThemeUri

public String getThemeUri()

setAppId

public void setAppId(String appId)

getVersionInfoJSObject

public com.google.gwt.core.client.JavaScriptObject getVersionInfoJSObject()

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

getConfigFromDOM

public static ApplicationConfiguration getConfigFromDOM(String appId)

getSerletVersion

public String getSerletVersion()

getApplicationVersion

public String getApplicationVersion()


Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.