public class MediaWikiMod extends Object implements EntryPointS
EntryPointS.U
Constructor and Description |
---|
MediaWikiMod() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Called after all modules are loaded provided the call was previously scheduled.
|
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 MediaWikiMod()
public final 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()