Package uk.ac.osswatch.simal.wicket.markup.html.repeater.data.table

Examples of uk.ac.osswatch.simal.wicket.markup.html.repeater.data.table.LinkPropertyColumn


  }

  @SuppressWarnings({ "unchecked", "rawtypes" })
  private void addDocumentsList() {
    List<IColumn<?>> columns = new ArrayList<IColumn<?>>();
    columns.add(new LinkPropertyColumn(new Model<String>("Name"), "label",
        "label"));
   
    PropertyColumn<IDocument> urlColumn = new PropertyColumn<IDocument>(new Model<String>("URL"),
        "url", "url") {
      private static final long serialVersionUID = -3063052337733586041L;
View Full Code Here


  }

  @SuppressWarnings({ "unchecked", "rawtypes" })
  private void addCategoryList(SortableDataProvider<IResource> dataProvider) {
    List<AbstractColumn> columns = new ArrayList<AbstractColumn>();
    columns.add(new LinkPropertyColumn(new Model<String>("Name"), "name",
        "name"));
    columns.add(new PropertyColumn(new Model("Projects"), "projects",
        "projects.size"));
    columns
        .add(new PropertyColumn(new Model("People"), "people", "people.size"));
View Full Code Here

  }

  @SuppressWarnings("rawtypes")
  private void addPersonList(Set<IPerson> people, int numberOfPeople) {
    List<AbstractColumn> columns = new ArrayList<AbstractColumn>();
    columns.add(new LinkPropertyColumn(new Model<String>("Name"), "label", "label"));

    columns.add(new PropertyColumn<IPerson>(new Model<String>("Email"), "email", "email") {
      private static final long serialVersionUID = 1L;

      @Override
View Full Code Here

  private void populatePanel(Set<IProject> projects, int numberOfProjects)
      throws SimalRepositoryException {
    add(new ProjectFilterForm("projectFilterForm"));   
   
    List<AbstractColumn> columns = new ArrayList<AbstractColumn>();
    columns.add(new LinkPropertyColumn(new Model("Name"), "name", "name"));
    columns.add(new PropertyColumn(new Model("Description"), "shortDesc",
        "shortDesc"));

    if (projects == null) {
      dataProvider = new SortableProjectDataProvider();
View Full Code Here

TOP

Related Classes of uk.ac.osswatch.simal.wicket.markup.html.repeater.data.table.LinkPropertyColumn

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.