Examples of ProjectListPanel


Examples of org.domain.view.component.project.display.ProjectListPanel

      ViewContext projectsViewContext = new ViewContext();
      projectsViewContext.setApp(app);
      projectsViewContext.setContextPage(this);
      projectsViewContext.setPage(this);
      projectsViewContext.setWicketId("projectListPanel");
      ProjectListPanel projectListPanel = new ProjectListPanel(
          projectsModelContext, projectsViewContext);
      add(projectListPanel);

      ModelContext infoModelContext = new ModelContext();
      infoModelContext.setDomainModel(app.getDomainModel());
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.panel.ProjectListPanel

public class UserHomePage extends BasePage {
  private static final long serialVersionUID = -8125606657250912738L;

  public UserHomePage() {
    try {
      add(new ProjectListPanel("projectList", 7));
      add(new PersonListPanel("peopleList", "People List", 7));
      add(new ProjectSummaryPanel("featuredProject"));
    } catch (SimalRepositoryException e) {
      UserReportableException error = new UserReportableException(
          "Unable to get project from the repository",
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.panel.ProjectListPanel

  /**
   * Create a default page that lists all projects in the repository.
   */
  public ProjectBrowserPage() {
      try {
          add(new ProjectListPanel("projectList", 15));
        } catch (SimalRepositoryException e) {
          UserReportableException error = new UserReportableException(
              "Unable to get projects from the repository",
              PersonBrowserPage.class, e);
          setResponsePage(new ErrorReportPage(error));
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.panel.ProjectListPanel

  /**
   * Create a page that lists only the projects supplied.
   */
  public ProjectBrowserPage(Set<IProject> projects) {
      try {
          add(new ProjectListPanel("projectList", projects, 15));
        } catch (SimalRepositoryException e) {
          UserReportableException error = new UserReportableException(
              "Unable to get projects from the repository",
              PersonBrowserPage.class, e);
          setResponsePage(new ErrorReportPage(error));
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.panel.ProjectListPanel

  private void populatePage(IDoapCategory category)
      throws SimalException {
    if (category != null) {
      add(new CategorySummaryPanel("summary", category));
      add(new ProjectListPanel("projectList", category.getProjects(), 15));
      add(new PersonListPanel("peopleList", "People working in this category", category.getPeople(), 15));
    } else {
      throw new SimalException("Cannot populate page with null category.");
    }
  }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.panel.ProjectListPanel

  }

  private void populatePage(IPerson person) throws SimalRepositoryException {
    add(new PersonSummaryPanel("summary", person));
    add(new ColleaguesPanel("colleagues", person));
    add(new ProjectListPanel("projects", person.getProjects(), 15));

    // source
    add(getRepeatingDataSourcePanel("sources", "seeAlso", person.getSources()));

    // FOAF link
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.