Class EnterpriseDemoMain
java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.EnterpriseDemoMain
Serves as substitute for a
EntryPoint
.
All you need to do to integrate this base project into a gwt project is to create an
EntryPoint
and within its method EntryPoint.onModuleLoad()
create an object of
this class and call onLoad()
.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClassPathDocumentPanel
createClasspathDocumentPanel
(PageView pageView, JadiceViewer myJadiceViewer) Creates theClassPathDocumentPanel
.protected com.google.gwt.user.client.ui.IsWidget
Creates the DocumentList for browsing through other Documents.protected JadiceViewer
Creates the Viewer.protected void
layout
(boolean fullscreen) void
onLoad()
Called when GWT is loadedprotected void
If there is a URL parameterUrlParameterUtils.UrlParameters.HELP
, show the help popup.
-
Field Details
-
jadiceViewer
-
autoDetectResolution
protected boolean autoDetectResolution
-
-
Constructor Details
-
EnterpriseDemoMain
public EnterpriseDemoMain()
-
-
Method Details
-
onLoad
public void onLoad()Called when GWT is loaded -
createViewer
Creates the Viewer. Protected to be able to create an other type of viewer in sub-classes.- Returns:
- the viewer
-
setHelpFromUrl
protected void setHelpFromUrl()If there is a URL parameterUrlParameterUtils.UrlParameters.HELP
, show the help popup. -
layout
protected void layout(boolean fullscreen) -
createClasspathDocumentPanel
protected ClassPathDocumentPanel createClasspathDocumentPanel(PageView pageView, JadiceViewer myJadiceViewer) Creates theClassPathDocumentPanel
. Protected to allow subclasses to use a different panel.- Returns:
- the ClassPathDocumentPanel
-