9e055d30116a775e46931e87ba7814de7cf40f3b,Orange/widgets/utils/concurrent.py,FutureWatcher,customEvent,#FutureWatcher#Any#,585
Before Change
if event.type() == StateChangedEvent.StateChanged:
if event.state() == Future.Canceled:
self.cancelled.emit()
elif event.state() == Future.Running:
self.started.emit()
elif event.state() == Future.Finished:
self.finished.emit()
return
After Change
def customEvent(self, event):
// Reimplemented.
if event.type() == FutureWatcher.__FutureDone:
self.__emitSignals()
super().customEvent(event)
class methodinvoke(object):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: biolab/orange3
Commit Name: 9e055d30116a775e46931e87ba7814de7cf40f3b
Time: 2017-05-12
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/utils/concurrent.py
Class Name: FutureWatcher
Method Name: customEvent
Project Name: brian-team/brian2
Commit Name: b19d0834272dbe109dbc38045f4fe02ed92c8b85
Time: 2015-07-22
Author: marcel.stimberg@ens.fr
File Name: brian2/groups/group.py
Class Name: Group
Method Name: get_states
Project Name: brian-team/brian2
Commit Name: 49dfdbd2da65978cef30011da0cfa6e0fa0ea334
Time: 2016-05-15
Author: raymon92@gmail.com
File Name: brian2/importexport/explicit.py
Class Name: PandasImportExport
Method Name: import_data