Package org.dmlite.model.component.presentation

Examples of org.dmlite.model.component.presentation.Presentations


      Link questionsLink = new PageLink("questionsLink", questionsPage);
      add(questionsLink);

      ModelContext presentationsModelContext = new ModelContext();
      presentationsModelContext.setDomainModel(app.getDomainModel());
      Presentations presentations = (Presentations) app
          .getEntry("Presentations");
      Presentations orderedPresentations = presentations
          .getPresentationsOrderedByTitle();
      presentationsModelContext.setEntities(orderedPresentations);

      ViewContext presentationsViewContext = new ViewContext();
      presentationsViewContext.setApp(app);
View Full Code Here


      add(conceptListPanel);

      ModelContext presentationSlideListModelContext = new ModelContext();
      presentationSlideListModelContext.setDomainModel(app
          .getDomainModel());
      Presentations presentations = (Presentations) app
          .getEntry("Presentations");
      Presentations orderedPresentations = presentations
          .getPresentationsOrderedByTitle();
      presentationSlideListModelContext.setEntities(orderedPresentations);
      presentationSlideListModelContext.setPropertyCode("title");
      String sectionTitle = getLocalizer()
          .getString("sectionTitle", this);
View Full Code Here

   * @return model context
   */
  private static ModelContext getNewModelContext(
      final ModelContext modelContext) {
    ModelContext newModelContext = new ModelContext(modelContext);
    Presentations presentations = (Presentations) modelContext
        .getEntities();
    presentations = presentations.getPresentationsOrderedByTitle();
    newModelContext.setEntities(presentations);
    return newModelContext;
  }
View Full Code Here

   * @return model context
   */
  private static ModelContext getNewModelContext(
      final ModelContext modelContext) {
    ModelContext newModelContext = new ModelContext(modelContext);
    Presentations presentations = (Presentations) modelContext
        .getEntities();
    presentations = presentations.getPresentationsOrderedByTitle();
    newModelContext.setEntities(presentations);
    return newModelContext;
  }
View Full Code Here

TOP

Related Classes of org.dmlite.model.component.presentation.Presentations

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.