 
   # Public: Set the loading message to display.
   #
-  # * message: The loading message.
+  # message - The {String} loading message (default: '').
   setLoading: (message='') ->
     if message.length is 0
       @loading.text("")

  #
  # This method should be overridden by subclasses.
  #
  # * element: The selected model element.
  confirmed: (element) ->

  attach: ->


  # Public: Set the array of items to display in the list.
  #
  # array - The {Array} of model elements to display in the list.
  setArray: (@array=[]) ->
    @populateList()
    @setLoading()

  # Public: Set the error message to display.
  #
  # message - The {String} error message (default: '').
  setError: (message='') ->
    if message.length is 0
      @error.text('').hide()
