Package uk.ac.osswatch.simal.wicket.doap

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


          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


   */
  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

      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

Related Classes of uk.ac.osswatch.simal.wicket.doap.ProjectDetailPage$DeleteLink

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.