Exemplo n.º 1
0
 def edit_subset(self, value):
     if value is None:
         value = []
     self._edit_subset = value
     # Alert any listeners to the change in the active subset
     if self.data_collection is not None:
         self.data_collection.hub.broadcast(EditSubsetMessage(self, value))
Exemplo n.º 2
0
 def _broadcast(self):
     if self.data_collection is not None:
         self.data_collection.hub.broadcast(
             EditSubsetMessage(self, self.edit_subset, self.mode))