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

Examples of org.dspace.app.xmlui.wing.element.Para


                    row.addCell().addContent("...");
                }
            }
        }
       
      Para buttons = main.addPara();
      buttons.addButton("submit_delete").setValue(T_submit_delete);
      buttons.addButton("submit_return").setValue(T_submit_return);
     
    main.addHidden("administrative-continue").setValue(knot.getId());
   }
View Full Code Here


    options.addItem().addHighlight("bold").addXref(tabLink, T_option_view);
                options.addItem().addXref(baseURL + "&submit_curate", T_option_curate);
   
    // item
   
    Para showfullPara = main.addPara(null, "item-view-toggle item-view-toggle-top");

        if (showFullItem)
        {
            link = baseURL + "&view_item";
            showfullPara.addXref(link).addContent(T_show_simple);
        }
        else
        {
            link = baseURL + "&view_item&show=full";
            showfullPara.addXref(link).addContent(T_show_full);
        }

    ReferenceSet referenceSet;
    referenceSet = main.addReferenceSet("collection-viewer",
        showFullItem?ReferenceSet.TYPE_DETAIL_VIEW:ReferenceSet.TYPE_SUMMARY_VIEW);
    // Reference the actual Item
    ReferenceSet appearsInclude = referenceSet.addReference(item)
        .addReferenceSet(ReferenceSet.TYPE_DETAIL_LIST, null, "hierarchy");
    appearsInclude.setHead(T_head_parent_collections);

    // Reference all collections the item appears in.
    for (Collection collection : item.getCollections()) {
      appearsInclude.addReference(collection);
    }
   
    showfullPara = main.addPara(null, "item-view-toggle item-view-toggle-bottom");

    if (showFullItem)
        {
            showfullPara.addXref(link).addContent(T_show_simple);
        }
        else
        {
            showfullPara.addXref(link).addContent(T_show_full);
        }
  }
View Full Code Here

            ArrayList<ResourcePolicy> bitstreamPolicies = (ArrayList<ResourcePolicy>)AuthorizeManager.getPolicies(context, bitstream);
            this.rowBuilder(baseURL, table, bitstreamPolicies, bitstream.getID(), Constants.BITSTREAM, highlightID);         
        }
      }
     
      Para buttons = main.addPara();
      buttons.addButton("submit_delete").setValue(T_submit_delete);
      buttons.addButton("submit_return").setValue(T_submit_return);
       
   
    main.addHidden("administrative-continue").setValue(knot.getId());
   }
View Full Code Here

        taskSelect.setSize(1);
        taskSelect.setRequired();
     

            // need submit_curate_task and submit_return
      Para buttonList = main.addPara();
            buttonList.addButton("submit_curate_task").setValue(T_submit_perform);
            buttonList.addButton("submit_queue_task").setValue(T_submit_queue);
      buttonList.addButton("submit_return").setValue(T_submit_return);
            main.addHidden("administrative-continue").setValue(knot.getId());

    }
View Full Code Here

      Division div = body.addInteractiveDivision("perform-task", actionURL, Division.METHOD_POST, "primary workflow");
        div.setHead(T_HEAD);

        addWorkflowItemInformation(div, item, request);

        Para scorePara = div.addPara();
        scorePara.addContent(T_score_help);
        Select scoreSelect = scorePara.addSelect("score");
        for(int i = 0; i <= 100; i+=10){
            scoreSelect.addOption(i, i + "%");
        }
        scorePara.addButton("submit_score").setValue(T_score_button);


        div.addPara().addButton("submit_leave").setValue(T_cancel_submit);

View Full Code Here

      }
      catch (AuthorizeException authex) {
            // nothing to add, the user is not authorized to edit collection's policies
        }

      Para buttonList = main.addPara();
      buttonList.addButton("submit_return").setValue(T_submit_return);



      main.addHidden("administrative-continue").setValue(knot.getId());
View Full Code Here

      Division add = body.addInteractiveDivision("eperson-add",contextPath+"/admin/epeople",Division.METHOD_POST,"primary administrative eperson");
     
      add.setHead(T_head1);
     
      if (errors.contains("eperson_email_key")) {
        Para problem = add.addPara();
        problem.addHighlight("bold").addContent(T_email_taken);
      }
               
        List identity = add.addList("identity",List.TYPE_FORM);
        identity.setHead(T_head2);      
       
View Full Code Here

      else
        {
            main.addPara(T_main_para.parameterize(toBeDeleted.getName()));
        }
     
      Para buttonList = main.addPara();
      buttonList.addButton("submit_confirm").setValue(T_submit_confirm);
      buttonList.addButton("submit_cancel").setValue(T_submit_cancel);
           
     
      main.addHidden("administrative-continue").setValue(knot.getId());
    }
View Full Code Here

        Row row = table.addRow();
        row.addCell().addContent(eperson.getID());
          row.addCell().addContent(eperson.getFullName());
          row.addCell().addContent(eperson.getEmail());
      }
      Para buttons = deleted.addPara();
      buttons.addButton("submit_confirm").setValue(T_submit_confirm);
      buttons.addButton("submit_cancel").setValue(T_submit_cancel);
     
      deleted.addHidden("administrative-continue").setValue(knot.getId());
    }
View Full Code Here

           
      // the row to upload a new logo
      metadataList.addLabel(T_label_logo);
      metadataList.addItem().addFile("logo");

      Para buttonList = main.addPara();
      buttonList.addButton("submit_save").setValue(T_submit_save);
      buttonList.addButton("submit_cancel").setValue(T_submit_cancel);
     
      main.addHidden("administrative-continue").setValue(knot.getId());
    }
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.wing.element.Para

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.