     init: (context) ->
       @linkKeys           = {}
       @nodeKeys           = {}
-      @nodeListeners      = []
       @loadListeners      = []
       @filename           = null
       @filenameListeners  = []

    addChangeListener: (listener) ->
      log.info("adding change listener")
      @undoRedoManager.addChangeListener listener

    addNodeListener: (listener) ->
      log.info("adding node listener")
      @nodeListeners.push listener

    addFilenameListener: (listener) ->
      log.info("adding filename listener #{listener}")


    _notifyNodeChanged: (node) ->
      NodesStore.actions.nodesChanged(@getNodes())
      @_maybeChangeSelectedItem node
      @updateListeners()

