     super
     list = @getListView()
     @loadItems()
-    
+
     @getView().parent.addSubView addButton = new KDButtonView
       style     : "clean-gray account-header-button"
       title     : ""

      height    : "auto"
      tabs      :
        forms   : {}
            
    fields =
      # Type    :
      #   label       : "Type"
      #   name        : "type"
      #   defaultValue: "mysql"
      #   attributes  : {readonly  : yes}        
      # Title :
      #   label       : "Friendly name"
      #   name        : "title"

                  """

  loadItems:(callback)->

    @_loaderCount = 2
    @showLazyLoader no

    hideLoaderWhenFinished = =>
      @_loaderCount--
      @hideLazyLoader() if @_loaderCount is 0

    for dbtype in ['mysql', 'mongo']
      @talkToKite
        toDo      : @commands[dbtype].fetch
        withArgs  :
          dbUser  : KD.whoami().profile.nickname
      , (err, response)=>
        if err then warn err
        else
          @instantiateListItems response
          callback?()
          hideLoaderWhenFinished()

  deleteDatabase:(listItem)->
    data     = listItem.getData()
