     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)

      @mylyn.tasks.push(task)
      task



  reloadTreeView:()=>
      console.log(@view)
      @view.createView().updateRoots()

      @view.treeView.roots.forEach (r)=>
          #console.log "RELOAD",r.directory
          #r.directory.reload()
      @rebuild()

  showTaskList:()=>

        true

  isFileAllowed:(file)=>
    if @filterOn()
      relFile = @toRelPath(file)
      relFile in @getFiles()
    else
      true
