'Open the window for editing the data of the selected spool.'

def onClickEdit(self, event):

    spool_index = self.spool_list.GetFirstSelected()
    if (spool_index == (-1)):
        self.statusbar.SetStatusText('Could    not    edit    the    spool.    No    spool    selected.')
        return 0
    spool_name = self.spool_list.GetItemText(spool_index)
    spool_length = self.spool_list.GetItemText(spool_index, 1)
    SpoolManagerEditWindow(self, spool_name, spool_length).Show(True)
    self.statusbar.SetStatusText('')
