Frage

I am doing a small project in Draw2d and GEF. I need to get the single click through performRequest() method. Currently I am getting double clicking through performRequest(). There I am checking request.getType()== open then it is double click. But for single click how do I check? Is it possible without mouse listener?

War es hilfreich?

Lösung

Single click is RequestConstants.REQ_SELECTION. Double click is RequestConstants.REQ_OPEN.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top