@GWTConfig public final class AMod extends Object implements EntryPointS
voGWTConfig.a
if it is defined. Here is an
example function definition suitable for use in the configuration script gwt.js:voGWTConfig.a = function() { a_web_gwt_App_setServletContextLocation( 'http://YOUR.DOM:8080/v' ); a_web_gwt_PollwikiG_setLocation( 'http://YOUR.DOM/wiki' ); a_web_gwt_PollwikiG_setPipeRecognizer( 'PREFIX', 'SUFFIX' ); // and so on };
EntryPointS.U
Constructor and Description |
---|
AMod() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Called after all modules are loaded provided the call was previously scheduled.
|
(package private) static boolean |
isForcedInit()
Answers whether this module's configurable classes are
currently being forced to initialize in preparation for configuration.
|
void |
onModuleLoad()
Called first during the load of any module M that declares an
entry-point in its declaration file M.gwt.xml , this
method (a) finalizes the configuration of any other modules
on which this one depends, and (b) ensures that any views are solidly placed that
might affect the position or size of already placed views, such as those of an
embedding page or those previously attached by other modules. |
public AMod()
static boolean isForcedInit()
public void onModuleLoad()
EntryPointS
entry-point
in its declaration file M.gwt.xml
, this
method (a) finalizes the configuration of any other modules
on which this one depends, and (b) ensures that any views are solidly placed that
might affect the position or size of already placed views, such as those of an
embedding page or those previously attached by other modules. This is to ensure
that the page content does not jitter from late attachments. Otherwise this
method depends as little as possible on other application
modules, as they might not be fully functional yet.
This method may also (c) schedule the invocation of the execute method.
onModuleLoad
in interface EntryPoint
onModuleLoad
in interface EntryPointS
public void execute()
EntryPointS
execute
in interface Scheduler.ScheduledCommand
execute
in interface EntryPointS
EntryPointS.onModuleLoad()