parameters: (self, parent, mainframe=None)
docstring: To be overridden by specific tool.
docstring_summary: To be overridden by specific tool.
docstring_tokens: To be overridden by specific tool .
function: def __init__(self, parent, mainframe=None):
          """
          To be overridden by specific tool.
          """
          self.init_common('odflow', parent, 'Add OD flow',
                           info="""Tool to add a flow between a zone of origin and a zone of destination:
                              <LEFT MOUSE> on the respective borderlines of zone of origin, and zone of destination.
                              Enter time interval and transport mode.
                              Enter number of trips and press "add flows".
                              <LEFT MOUSE> on border of a new zone of destination to add flows to other zones of destination.
                              Or press button "Reset zones" to start with a new assignment.
                              """,
                           is_textbutton=False,
                           )
  
          self._init_select(is_show_selected=False)
  
          #self.drawobj_zone_orig = None
          #self.drawobj_zone_dest = None
          self.add_odoptions_common()
          # make options
          self.add(cm.AttrConf('id_orig', -1,
                               groupnames=['options'],
                               choices={'': -1},
                               perm='r',
                               name='Orig zone',
                               info='Name of traffic assignment zone of origin of trip. Click on zone border to specify.',
                               ))
  
          self.add(cm.AttrConf('id_dest', -1,
                               dtype='object',
                               groupnames=['options'],
                               choices={'': -1},
                               perm='r',
                               name='Dest zone',
                               info='Name of traffic assignment zone of destination of trip.Click on zone border to specify.',
                               ))
  
          self.add(cm.AttrConf('tripnumber', 0,
                               groupnames=['options'],
                               perm='rw',
                               name='Trips',
                               info='Number of trips from zone of origin to zone of destination.',
                               ))
function_tokens: def __init__ ( self , parent , mainframe = None ) : self . init_common ( 'odflow' , parent , 'Add OD flow' , info = """Tool to add a flow between a zone of origin and a zone of destination:
                              <LEFT MOUSE> on the respective borderlines of zone of origin, and zone of destination.
                              Enter time interval and transport mode.
                              Enter number of trips and press "add flows".
                              <LEFT MOUSE> on border of a new zone of destination to add flows to other zones of destination.
                              Or press button "Reset zones" to start with a new assignment.
                              """ , is_textbutton = False , ) self . _init_select ( is_show_selected = False ) #self.drawobj_zone_orig = None #self.drawobj_zone_dest = None self . add_odoptions_common ( ) # make options self . add ( cm . AttrConf ( 'id_orig' , - 1 , groupnames = [ 'options' ] , choices = { '' : - 1 } , perm = 'r' , name = 'Orig zone' , info = 'Name of traffic assignment zone of origin of trip. Click on zone border to specify.' , ) ) self . add ( cm . AttrConf ( 'id_dest' , - 1 , dtype = 'object' , groupnames = [ 'options' ] , choices = { '' : - 1 } , perm = 'r' , name = 'Dest zone' , info = 'Name of traffic assignment zone of destination of trip.Click on zone border to specify.' , ) ) self . add ( cm . AttrConf ( 'tripnumber' , 0 , groupnames = [ 'options' ] , perm = 'rw' , name = 'Trips' , info = 'Number of trips from zone of origin to zone of destination.' , ) )