def __init__(self, parent=None):
        SectionWizard.__init__(self, parent)
        self.connect('help-clicked', self._on_assistant__help_clicked)
        # Set the name of the toplevel window, this is used by the
        # ui unittest framework
        self.window1.set_name('ConfigurationAssistant')
        self.message_area.disableTimestamps()

        self._cursorWatch = gdk.Cursor(gdk.WATCH)
        self._tasks = []
        self._adminModel = None
        self._workerHeavenState = None
        self._lastWorker = 0 # combo id last worker from step to step
        self._stepWorkers = {}
        self._scenario = None
        self._existingComponentNames = []
        self._porters = []
        self._mountPoints = []
        self._consumers = {}

        self._workerList = WorkerList()
        self.top_vbox.pack_start(self._workerList, False, False)
        self._workerList.connect('worker-selected',
                                  self.on_combobox_worker_changed)
Пример #2
0
    def __init__(self, parent=None):
        SectionWizard.__init__(self, parent)
        self.connect('help-clicked', self._on_assistant__help_clicked)
        # Set the name of the toplevel window, this is used by the
        # ui unittest framework
        self.window1.set_name('ConfigurationAssistant')
        self.message_area.disableTimestamps()

        self._cursorWatch = gdk.Cursor(gdk.WATCH)
        self._tasks = []
        self._adminModel = None
        self._workerHeavenState = None
        self._lastWorker = 0  # combo id last worker from step to step
        self._stepWorkers = {}
        self._scenario = None
        self._existingComponentNames = []
        self._porters = []
        self._mountPoints = []
        self._consumers = {}

        self._workerList = WorkerList()
        self.top_vbox.pack_start(self._workerList, False, False)
        self._workerList.connect('worker-selected',
                                 self.on_combobox_worker_changed)
 def blockNext(self, block):
     # Do not block/unblock if we have tasks running
     if self._tasks:
         return
     SectionWizard.blockNext(self, block)
 def prepareNextStep(self, step):
     self._setupWorker(step, self._workerList.getWorker())
     SectionWizard.prepareNextStep(self, step)
 def destroy(self):
     SectionWizard.destroy(self)
     self._adminModel = None
Пример #6
0
 def blockNext(self, block):
     # Do not block/unblock if we have tasks running
     if self._tasks:
         return
     SectionWizard.blockNext(self, block)
Пример #7
0
 def prepareNextStep(self, step):
     self._setupWorker(step, self._workerList.getWorker())
     SectionWizard.prepareNextStep(self, step)
Пример #8
0
 def destroy(self):
     SectionWizard.destroy(self)
     self._adminModel = None