I want to perform action when anything in view is pressed (includes shell, composite, buttons, labels etc) is there way to do it with single listener, or do I need to add listener for each element shown?
Code
.addListener(SWT.MouseDown, new Listener() {
public void handleEvent(Event e) {
//do things
}
});
Thanks.