lib/bean/nsoutlineview_additions.rb
#
# Helper for adding a double click handler to the outline
#
# The block will be called and provided the sender, clicked column and clicked row
#
# @param blk [Proc] The block to execute
# @return [Nil]
Helper for adding a double click handler to the outline
The block will be called and provided the sender, clicked column and clicked row
Helper for adding a double click handler to the outline The block will be called and provided the sender clicked column and clicked row
def on_double_click(&blk)
    @on_double_action = blk
    def self.performDoubleAction(sender); @on_double_action.call(sender, self.clickedColumn, self.clickedRow); end
    setDoubleAction("performDoubleAction:")
  end
def on_double_click ( & blk ) @on_double_action = blk def self . performDoubleAction ( sender ) ; @on_double_action . call ( sender , self . clickedColumn , self . clickedRow ) ; end setDoubleAction ( "performDoubleAction:" ) end
Helper for adding a double click handler to the outline
The block will be called and provided the sender, clicked column and clicked row
Helper for adding a double click handler to the outline The block will be called and provided the sender clicked column and clicked row
None
Nil
blk
The block to execute
The block to execute