def partitioningSimple_activate_cb(self, action): if self.getCurrentProject() is None: NetzobErrorMessage(_("No project selected.")) return layers = self.view.getCheckedLayerList() if layers == []: NetzobErrorMessage(_("No symbol selected.")) return simple_controller = SimplePartitioningController(self, layers) simple_controller.run()
def partitioningSimple_activate_cb(self, action): if self.getCurrentProject() is None: NetzobErrorMessage(_("No project selected.")) return layers = self.view.getCheckedLayerList() if layers == []: NetzobErrorMessage(_("No symbol selected.")) return simple_controller = SimplePartitioningController(self, layers) simple_controller.run()
def simplePartitionment_cb(self, action): simple_controller = SimplePartitioningController(self.vocabularyController, [self.layers[0]]) simple_controller.run()
def simplePartitionment_cb(self, action): simple_controller = SimplePartitioningController( self.vocabularyController, [self.layers[0]]) simple_controller.run()