       []
 
   isDirAllowed:(dir)=>
-      #return false
       if @filterOn()
         dir = @toRelPath(dir)
         @getFiles().find((file)->(""+file).startsWith(dir))!=undefined

    path = $(span).attr("data-path")

    if !isAllowed(path)
        #$(e).addClass("mylyn-hidden")
        $(e).remove()
        #$(e).detach()
    #else
        #$(e).attach()
    #    $(e).removeClass("mylyn-hidden")



  hideDir:(e)=>
      @hide(e,@isDirAllowed)


  getDomDirs: =>
    dirs = $(".tree-view [is='tree-view-directory']")#.css("display","none")
    dirs

  onDidChangeActivePaneItem:(e)->
