     @clearLinkInspection()
 
   clearTitleEditing: ->
-    @clearSelection(SelectionManager.NodeTitleEditing)
-    @clearSelection(SelectionManager.LinkTitleEditing)
+    @_clearSelection(SelectionManager.NodeTitleEditing)
+    @_clearSelection(SelectionManager.LinkTitleEditing)
 
   isSelectedForTitleEditing: (graphprimitive)->
     @isSelected(graphprimitive,SelectionManager.NodeTitleEditing) or

    entry = {graphprimitive: graphprimitive, context: context, key: graphprimitive.key}
    unless @isSelected(graphprimitive,context)
      @selections.push entry
      @_notifySelectionChange()


  selectOnly: (graphprimitive, context) ->
    unless @isSelected(graphprimitive, context)
      @clearSelection(context)
      @addToSelection(graphprimitive,context)

  selection: (context) ->

      obj.graphprimitive
    .value()

  _clearSelection: (context=null) ->
    @_deselect({context:context})

  clearSelection: (context=null) ->
    @_clearSelection(context)
    @_notifySelectionChange()

  clearLinkInspection: ->
    @_clearSelection(SelectionManager.LinkInspection)

  clearSelectionFor:(graphprimitive, context=null) ->
    @_deselect({key:graphprimitive.key, context:context})
