Exemple #1
0
 def partitioningForce_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
     force_controller = ForcePartitioningController(self, layers)
     force_controller.run()
 def partitioningForce_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
     force_controller = ForcePartitioningController(self, layers)
     force_controller.run()
 def forcePartitionment_cb(self, action):
     force_controller = ForcePartitioningController(self.vocabularyController, [self.layers[0]])
     force_controller.run()
Exemple #4
0
 def forcePartitionment_cb(self, action):
     force_controller = ForcePartitioningController(
         self.vocabularyController, [self.layers[0]])
     force_controller.run()