Examples of ProjectDetailPage


Examples of uk.ac.osswatch.simal.wicket.doap.ProjectDetailPage

          try {
            PageParameters projectPageParams = new PageParameters();
            projectPageParams.add("simalID", project.getSimalID());
            setResponsePage(ProjectDetailPage.class, projectPageParams);
          } catch (SimalRepositoryException e) {
            setResponsePage(new ProjectDetailPage(project));
          }
        }

        @Override
        public boolean isVisible() {
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.doap.ProjectDetailPage

   */
  private BasePage generateResponsePage(IResource targetResource) {
    BasePage targetClass = null;

    if (targetResource instanceof IProject) {
      targetClass = new ProjectDetailPage((IProject) targetResource);
    } else if (targetResource instanceof IPerson) {
      targetClass = new PersonDetailPage((IPerson) targetResource);
    } else if (targetResource instanceof IDoapCategory) {
      targetClass = new CategoryDetailPage((IDoapCategory) targetResource);
    }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.doap.ProjectDetailPage

      public void onClick() {
        try {
          removePerson();
          if (this.getPage() instanceof ProjectDetailPage) {
            setResponsePage(new ProjectDetailPage(((ProjectDetailPage) this
                .getPage()).getProject()));
          } else {
            logger
                .warn("Removing person from an unknown page, returning to user home page");
            setResponsePage(new UserHomePage());
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.