Package org.dspace.app.xmlui.wing.element

Examples of org.dspace.app.xmlui.wing.element.Table.addRow()


         
         
          Row row;
          if (person.getID() == highlightID)
            // This is a highlighted eperson
            row = table.addRow(null, null, "highlight");
          else
            row = table.addRow();
         
          selectEPerson = row.addCell().addCheckBox("select_eperson");
          selectEPerson.setLabel(epersonID);
View Full Code Here


          Row row;
          if (person.getID() == highlightID)
            // This is a highlighted eperson
            row = table.addRow(null, null, "highlight");
          else
            row = table.addRow();
         
          selectEPerson = row.addCell().addCheckBox("select_eperson");
          selectEPerson.setLabel(epersonID);
          selectEPerson.addOption(epersonID);
          if (deleteConstraints != null && deleteConstraints.size() > 0)
View Full Code Here

            row.addCell().addXref(url, email);
        }
       
        if (epeople.length <= 0)
    {
          Cell cell = table.addRow().addCell(1, 4);
          cell.addHighlight("italic").addContent(T_no_results);
        }
        else
        {
          search.addPara().addButton("submit_delete").setValue(T_submit_delete);
View Full Code Here

    actions.addButton("submit_map").setValue(T_submit_map);
    actions.addButton("submit_cancel").setValue(T_submit_cancel);
   
    Table table = div.addTable("search-items-table",1,1);
   
    Row header = table.addRow(Row.ROLE_HEADER);
    header.addCellContent(T_column1);
    header.addCellContent(T_column2);
    header.addCellContent(T_column3);
    header.addCellContent(T_column4);
   
View Full Code Here

      if (dcTitles != null && dcTitles.length >= 1)
        title = dcTitles[0].value;

      String url = contextPath+"/handle/"+item.getHandle();
     
      Row row = table.addRow();

            boolean canBeMapped = true;
            Collection[] collections = item.getCollections();
            for (Collection c : collections)
            {
View Full Code Here

    Division existingFields = main.addDivision("metadata-schema-edit-existing-fields");
    existingFields.setHead(T_head2);
   
    Table table = existingFields.addTable("metadata-schema-edit-existing-fields", fields.length+1, 5);
   
    Row header = table.addRow(Row.ROLE_HEADER);
    header.addCellContent(T_column1);
    header.addCellContent(T_column2);
    header.addCellContent(T_column3);
    header.addCellContent(T_column4);
   
View Full Code Here

     
      String url = contextPath + "/admin/metadata-registry?administrative-continue="+knot.getId()+"&submit_edit&fieldID="+id;
     
      Row row;
      if (highlight)
        row = table.addRow(null,null,"highlight");
      else
        row = table.addRow();
     
      CheckBox select = row.addCell().addCheckBox("select_field");
      select.setLabel(id);
View Full Code Here

     
      Row row;
      if (highlight)
        row = table.addRow(null,null,"highlight");
      else
        row = table.addRow();
     
      CheckBox select = row.addCell().addCheckBox("select_field");
      select.setLabel(id);
      select.addOption(id);
     
View Full Code Here

    }
   
    if (fields.length == 0)
    {
      // No fields, let the user know.
      table.addRow().addCell(1,4).addHighlight("italic").addContent(T_empty);
      main.addPara().addButton("submit_return").setValue(T_submit_return);
    }
    else
    {
      // Only show the actions if there are fields available to preform them on.
View Full Code Here

        if (state == WFSTATE_STEP1POOL ||
          state == WFSTATE_STEP2POOL ||
          state == WFSTATE_STEP3POOL)
        {
          // Take task
          row = table.addRow();
          row.addCellContent(T_take_help);
          row.addCell().addButton("submit_take_task").setValue(T_take_submit);
      
          // Leave task
          row = table.addRow();
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.