parameters: (self, event=None)
docstring: Generates mobility plans using different strategies..
docstring_summary: Generates mobility plans using different strategies..
docstring_tokens: Generates mobility plans using different strategies ..
function: def on_generate_facilities(self, event=None):
          """
          Generates mobility plans using different strategies..
          """
          self._landuse.facilities.unplug()
          self.proc = landuse.FacilityGenerator('facilitygenerator',
                                                self._landuse.facilities,
                                                logger=self._mainframe.get_logger()
                                                )
  
          dlg = ProcessDialogInteractive(self._mainframe,
                                         self.proc,
                                         title=self.proc.get_name(),
                                         func_close=self.close_process_facilities,
                                         )
  
          dlg.CenterOnScreen()
  
          # this does not return until the dialog is closed.
          #val = dlg.ShowModal()
          dlg.Show()
          dlg.MakeModal(True)
function_tokens: def on_generate_facilities ( self , event = None ) : self . _landuse . facilities . unplug ( ) self . proc = landuse . FacilityGenerator ( 'facilitygenerator' , self . _landuse . facilities , logger = self . _mainframe . get_logger ( ) ) dlg = ProcessDialogInteractive ( self . _mainframe , self . proc , title = self . proc . get_name ( ) , func_close = self . close_process_facilities , ) dlg . CenterOnScreen ( ) # this does not return until the dialog is closed. #val = dlg.ShowModal() dlg . Show ( ) dlg . MakeModal ( True )