Example #1
0
 def partitioningSmooth_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
     smooth_controller = SmoothPartitioningController(self, layers)
     smooth_controller.run()
 def partitioningSmooth_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
     smooth_controller = SmoothPartitioningController(self, layers)
     smooth_controller.run()
 def smoothPartitionment_cb(self, action):
     smooth_controller = SmoothPartitioningController(self.vocabularyController, [self.layers[0]])
     smooth_controller.run()
Example #4
0
 def smoothPartitionment_cb(self, action):
     smooth_controller = SmoothPartitioningController(
         self.vocabularyController, [self.layers[0]])
     smooth_controller.run()