List of usage examples for com.google.gwt.dev.shell ModuleSpace onLoad
public final void onLoad(TreeLogger logger) throws UnableToCompleteException
From source file:com.google.gdt.eclipse.designer.hosted.tdz.BrowserShell.java
License:Open Source License
/** * Initializes and attaches module space to this browser widget. Called by subclasses in response to calls * from JavaScript.//from w w w . ja va 2 s .c o m * * @param space * ModuleSpace instance to initialize */ protected final void attachModuleSpace(ModuleSpace space) throws UnableToCompleteException { space.setDevClassLoader(m_host.getDevClassLoader()); loadedModules.put(null, space); m_logger.log(TreeLogger.SPAM, "Loading module " + space.getModuleName(), null); // Let the space do its thing. // space.onLoad(m_logger); }