Beispiel #1
0
 def _entire_object_set ( self, state ):
     """ Handles the 'entire_object' facet being changed.
     """
     if state:
         fbi_wiretap.wiretap( ( self.object, self.name, self.condition ),
                              True )
         fbi_wiretap.wiretap( ( self.object, None, self.condition ), False )
         self._name, self.name = self.name, ''
     else:
         self.name = self._name
         fbi_wiretap.wiretap( ( self.object, None, self.condition ), True )
         fbi_wiretap.wiretap( ( self.object, self.name, self.condition ),
                              False )
Beispiel #2
0
 def remove ( self ):
     """ Removes the wiretap.
     """
     fbi_wiretap.wiretap( ( self.object, self.name, self.condition ), True )
Beispiel #3
0
 def _condition_set ( self, old, new ):
     """ Handles the 'condition' facet being changed.
     """
     fbi_wiretap.wiretap( ( self.object, self.name, old ), True )
     fbi_wiretap.wiretap( ( self.object, self.name, new ), False )
Beispiel #4
0
 def add ( self ):
     """ Adds the wiretap.
     """
     fbi_wiretap.wiretap( ( self.object, self.name, self.condition ), False )