コード例 #1
0
 def chunkLeftUp(self, a_chunk, event):
     """
     Overrides superclass method. If add or remove segmets tool is active, 
     upon leftUp , when this method gets called, it modifies the list 
     of segments being resized by self.command.
     @see: self.update_cursor_for_no_MB()
     @see: self.end_selection_from_GLPane()
     """
     ListWidgetItems_GraphicsMode_Mixin.chunkLeftUp(self, a_chunk, event)
     _superclass.chunkLeftUp(self, a_chunk, event)
コード例 #2
0
 def chunkLeftUp(self, a_chunk, event):
     """
     Overrides superclass method. If add or remove segmets tool is active, 
     upon leftUp , when this method gets called, it modifies the list 
     of segments being resized by self.command.
     @see: self.update_cursor_for_no_MB()
     @see: self.end_selection_from_GLPane()
     """
     ListWidgetItems_GraphicsMode_Mixin.chunkLeftUp(self, a_chunk, event)
     _superclass.chunkLeftUp(self, a_chunk, event)
コード例 #3
0
    def end_selection_from_GLPane(self):
        """
        Overrides superclass method.  In addition to selecting  or deselecting 
        the chunk, if  a tool that adds Dna segments to the segment list in 
        the property manager is active, this method also adds 
        the selected dna segments to that list. Example, if user selects 
        'Add Dna segments' tool and does a lasso selection , then this also
        method adds the selected segments to the list. Opposite behavior if 
        the 'remove segments from segment list too, is active)
        """
        _superclass.end_selection_from_GLPane(self)

        ListWidgetItems_GraphicsMode_Mixin.end_selection_from_GLPane(self)
コード例 #4
0
    def end_selection_from_GLPane(self):
        """
        Overrides superclass method.  In addition to selecting  or deselecting 
        the chunk, if  a tool that adds Dna segments to the segment list in 
        the property manager is active, this method also adds 
        the selected dna segments to that list. Example, if user selects 
        'Add Dna segments' tool and does a lasso selection , then this also
        method adds the selected segments to the list. Opposite behavior if 
        the 'remove segments from segment list too, is active)
        """
        _superclass.end_selection_from_GLPane(self)

        ListWidgetItems_GraphicsMode_Mixin.end_selection_from_GLPane(self)
コード例 #5
0
 def update_cursor_for_no_MB(self):
     """
     Update the cursor for no mouse button pressed
     """
     _superclass.update_cursor_for_no_MB(self)
     ListWidgetItems_GraphicsMode_Mixin.update_cursor_for_no_MB(self)
コード例 #6
0
 def update_cursor_for_no_MB(self):
     """
     Update the cursor for no mouse button pressed
     """  
     _superclass.update_cursor_for_no_MB(self)
     ListWidgetItems_GraphicsMode_Mixin.update_cursor_for_no_MB(self)