This method defines a map that defines whether or not to include a menubar button for each of the named buttons.
Add Issue, Add Confirmation, Edit Issue screens
public HashMapbuttonInclusionMap( 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
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: