Community
Participate
Working Groups
Currently, the individual IGesture implementations share some implementation details. In order to de-duplicate the code, we should pull up the common functionality into the AbstractGesture base class. At least the setup of scene listeners and their initial invocation (as well as final clean-up) can probably be moved to AbstractGesture, i.e. the code currently executed in individual doActivate() and doDeactivate() callbacks.
I refactored most of the gestures, except for ScrollGesture and TypeStrokeGesture, which pass special parameters to some methods (a viewer and a set of pressed keys, respectively). These need to be looked at in more detail to refactor appropriately.