buttonInclusionMap

Purpose

This method defines a map that defines whether or not to include a menubar button for each of the named buttons.

Applies To

Add Issue, Add Confirmation, Edit Issue screens

Signature

public HashMap buttonInclusionMap( 
      Connection dbconn,  // the database connection
      SesameSession session,  // the user's session
      String layoutType,  // the type of layout, e.g. ADD_PROBLEM
      String displayMode, // the current display mode, e.g. ADD
      HashMap selectedVals,  // the current form values
      HashSet buttonNames )  // the names used as keys for the HashMap

Notes

This is used in conjunction with the methods setButtonDopeMap and addCustomButtonTemplate.

The method returns a HashMap with the desired list in the form buttonName --> true (for inclusion) or false (for exclusion).

The button names can be:

  • CLONEBTN
  • DELETEBTN
  • EDITBTN
  • EMAILBTN
  • HISTORYBTN
  • INTERESTLISTTOGGLEBTN
  • RELGRPADMINBTN
  • RETURNBTN
  • UPDATEBTN
  • UPDATECONTINUEBTN
  • UPDATENEXTBTN
  • UPDATEPREVBTN