Class ClassPathDocumentPanel

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

public class ClassPathDocumentPanel extends Object implements com.google.gwt.user.client.ui.IsWidget
  • Constructor Details

    • ClassPathDocumentPanel

      public ClassPathDocumentPanel(PageView pageView, JadiceViewer myJadiceViewer)
  • Method Details

    • asWidget

      public com.google.gwt.user.client.ui.Widget asWidget()
      Specified by:
      asWidget in interface com.google.gwt.user.client.ui.IsWidget
    • applyPermissions

      public static void applyPermissions(ClassPathWithAnnoAndPermissionSource source, String permissionIdentifier)
    • addDocument

      protected void addDocument(String title, String description, Source source, String documentType)
      Add a document to the list of test documents. Protected method, so subclasses can provide additional test documents.
      Parameters:
      title - the title of the document as shown to the user
      description - the description
      source - the source
      documentType - The document format as one of the recognized icon names, e.g. "text", "pdf" or "image"