                          UiComponent,
                          NSWindowDelegate,
                          NSTextFieldDelegate,
-                         NSTableViewDelegate, NSTableViewDataSource {
+                         NSTableViewDelegate {
 
   typealias StateType = AppState
 


  // FIXME: migrate to State later...
  private(set) var pattern = ""
  private(set) var fileViewItems = [ScoredFileItem]()
  private var count = 0

  private let windowController: NSWindowController



    let fileView = self.fileView
    fileView.intercellSpacing = CGSize(width: 4, height: 4)

    let c = self.fileViewItemsController
    c.avoidsEmptySelection = false
    c.preservesSelection = true
    c.objectClass = ScoredUrl.self
    c.sortDescriptors = [NSSortDescriptor(key: "score", ascending: false)]
    c.automaticallyRearrangesObjects = true
    c.bind(.contentArray, to: self, withKeyPath: "fileViewItems")

    fileView.bind(.content, to: c, withKeyPath: "arrangedObjects")
    fileView.bind(.selectionIndexes, to: c, withKeyPath: "selectionIndexes")
    fileView.delegate = self

    let fileScrollView = NSScrollView.standardScrollView()
