5e5c8e4c93f2fb84d52e579e8c6ad8ee45a35fd3,dipy/viz/interactor.py,CustomInteractorStyle,on_mouse_wheel_forward,#CustomInteractorStyle#Any#Any#,115

Before Change



    def on_mouse_wheel_forward(self, obj, evt):
        // Propagate event to all active props.
        for prop in self.active_props:
            prop.InvokeEvent(evt)

        self.default_interactor.OnMouseWheelForward()

    def on_mouse_wheel_backward(self, obj, evt):
        // Propagate event to all active props.

After Change


            self.default_interactor.OnMouseMove()

    def on_mouse_wheel_forward(self, obj, evt):
        abort_flag = self.propagate_event(evt, *self.active_props)

        if not abort_flag:
            self.default_interactor.OnMouseWheelForward()

    def on_mouse_wheel_backward(self, obj, evt):
        abort_flag = self.propagate_event(evt, *self.active_props)

        if not abort_flag:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: nipy/dipy
Commit Name: 5e5c8e4c93f2fb84d52e579e8c6ad8ee45a35fd3
Time: 2016-07-23
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_mouse_wheel_forward


Project Name: nipy/dipy
Commit Name: 5e5c8e4c93f2fb84d52e579e8c6ad8ee45a35fd3
Time: 2016-07-23
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_mouse_wheel_backward


Project Name: nipy/dipy
Commit Name: 5e5c8e4c93f2fb84d52e579e8c6ad8ee45a35fd3
Time: 2016-07-23
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_key_press


Project Name: nipy/dipy
Commit Name: 5e5c8e4c93f2fb84d52e579e8c6ad8ee45a35fd3
Time: 2016-07-23
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_mouse_moved