Interface DropDownModelProvider<T>

All Known Implementing Classes:
ManageFilters, ViewSharedFilters

@Deprecated(since="11.0", forRemoval=true) public interface DropDownModelProvider<T>
Deprecated, for removal: This API element is subject to removal in a future version.
since 11.0. Do not construct HTML markup in Java code, instead implement it using an appropriate frontend code. Refer to the Soy example in JIRA.Dashboard.list.operationsDropdown. More details: MNSTR-7587
An interface to model a drop down menu, so we can pump it into a UI component easier
Since:
v4.4.1
  • Method Summary

    Modifier and Type
    Method
    Description
    getDropDownModel(T domainObject, int listIndex)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Details

    • getDropDownModel

      DropDownModel getDropDownModel(T domainObject, int listIndex)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      domainObject - some domain object
      listIndex - this parameter indicates the position in of the domain object in a list of domain objects. Often generated markup uses position in the list to generate ids and the like
      Returns:
      a drop down model based on the values in domainObject