     @getDomElement().removeClass("kdhiddentab").addClass("active")
     @active = yes
     @handleEvent type : "KDTabPaneActive"
-    
+
   hide:()->
     @getDomElement().removeClass("active").addClass("kdhiddentab")
     @active = no
     @handleEvent type : "KDTabPaneInactive"
-  
+
   viewAppended:()->
     {name} = @getOptions()
     @setClass "kdtabpaneview"# #{name or ''}" Why do we need something like crazy?


  # viewAppended:()->
  #   log @getDelegate()
    

    @getDelegate().setPaneTitle @,title
    @setOption "name", name
    @name = title

  getHandle: ->
    @getDelegate().getHandleByPane @

  hideTabCloseIcon:()->
    @getDelegate().hideCloseIcon @

class KDTabHandleView extends KDView
  constructor:(options)->
    options = $.extend
