Class JadiceDocumentViewer

java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.JadiceContentViewer
com.levigo.jadice.web.demo.enterprise.client.JadiceDocumentViewer
All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget

public class JadiceDocumentViewer extends JadiceContentViewer
A Viewer for documents
  • Field Details

    • documentView

      protected final com.google.gwt.user.client.ui.LayoutPanel documentView
    • pageView

      protected final PageView pageView
    • leftTabPanel

      protected com.google.gwt.user.client.ui.TabLayoutPanel leftTabPanel
    • showHideLeftPanel

      protected com.google.gwt.user.client.ui.FlowPanel showHideLeftPanel
    • showLeftPanel

      protected boolean showLeftPanel
  • Constructor Details

    • JadiceDocumentViewer

      public JadiceDocumentViewer(boolean autoDetectResolution, Context context)
  • Method Details

    • asWidget

      public com.google.gwt.user.client.ui.Widget asWidget()
    • createLeftTabPanel

      protected void createLeftTabPanel()
    • getPageView

      public PageView getPageView()
    • getContext

      public Context getContext()
    • createRightTabPanel

      protected void createRightTabPanel()
    • createAnnotationVisibilityMenuContributor

      protected AnnotationVisibilityMenuContributor createAnnotationVisibilityMenuContributor()
      Creates the visibility menu contributor. Protected to be able to provide a different contributor with a custom profile in sub-classes.
      Returns:
      the AnnotationVisibilityMenuContributor
    • createContext

      protected void createContext(Context parentContext)
    • getToolbar

      public AbstractBar getToolbar()
    • createExportOriginalAction

      public static RegisteredAction createExportOriginalAction(KeyStroke keyStroke, Collection<Object> context)
    • setScopeDocument

      public Action setScopeDocument(Action action)
    • doLayout

      protected void doLayout()
      Do some Layout stuff
    • saveAnnosAction

      public static RegisteredAction saveAnnosAction(Collection<Object> context)
    • saveAnnosP8Action

      public static RegisteredAction saveAnnosP8Action(Collection<Object> context)