Customization of cell activation strategy [message #586471] |
Mon, 19 November 2007 16:17 |
Andrey Kononenko Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Dear colleagues
Ive met some issue with the strategy with mouse event. It works by mouse
down event only. Perhaps, it covers most requests, but I need select
several cells by mouse dragging (e.g. because of single click editor
activation strategy). So Ive customized the strategy by overriding
hookEditingSupport() method for handling mouse up/down and calculating
some flag . The flag allows make decision about starting of editor. But it
looks like a hack. So Id like to ask you about some improvement of Grid.
Perhaps, itd be useful for other user of the library.
1. Could you modify the cell activation strategy for any event (not only
for mouse down event).
2. What do you think about some useful method like ColumnViewer#getCell
with default access? Have you considered asking developer of jface to
change its modifier?
3. What do you think about adding some deactivation strategy for
behavior customization?
Thank you in advance!
Regards
Andrey
|
|
|
Powered by
FUDForum. Page generated in 0.03677 seconds