       log.info "in collection #{_.pluck @selections, 'key'}"
     else
       @selections = []
-    @_notifySelectionChange()

    @clearLinkInspection()

  clearTitleEditing: ->
    @clearSelection(SelectionManager.NodeTitleEditing)
    @clearSelection(SelectionManager.LinkTitleEditing)

  isSelectedForTitleEditing: (graphprimitive)->
    @isSelected(graphprimitive,SelectionManager.NodeTitleEditing) or

    unless @isSelectedForTitleEditing(graphprimitive)
      @clearTitleEditing()

    @_notifySelectionChange()

  _deselect: (opts)->
    pickNonEmpty    = _.partial _.pick, _, _.identity
    removeCritereon = pickNonEmpty opts
