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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassPathDocumentPanelcreateClasspathDocumentPanel(PageView pageView, JadiceViewer myJadiceViewer) Creates theClassPathDocumentPanel.protected com.google.gwt.user.client.ui.IsWidgetCreates the DocumentList for browsing through other Documents.protected JadiceViewerCreates the Viewer.protected voidlayout(boolean fullscreen) voidonLoad()Called when GWT is loadedprotected voidIf 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
-