prefuse/Prefuse — Issue #1: Should the Display#InputEventCapturer honor Event.isConsumed()?
Author: Protuhj
Created: 2012-01-25 17:01:10+00:00
State: open

As the tile says.

Currently, in all of the fireXXXX(...) methods, it is not checked whether or not an event has been consumed in the chain of ControlAdapters.

I wrote a ControlAdapter to change how left-clicking works, depending on a keyboard modifier. I wanted to consume the appropriate MouseEvent so it didn't propagate to all other listeners (like the PanControl).

Now I understand I can either add my own pan functionality to my custom adapter, or add/remove adapters on demand, but those options seem a bit hacky and overly-cumbersome.