How can I handle the drag, using arrow keys? [message #202317] |
Tue, 19 August 2008 00:41 |
Eclipse User |
|
|
|
Hello,
I want to handle dragging of editpart. So in my editpart I have function
called
getDragTracker and inside it I have return as below,
return new DragEditPartsTracker(this)
{
@Override
protected boolean handleDragStarted()
{
return super.handleDragStarted();
}
};
When I drag using mouse, I can handle the drag events by using
handleDragStarted() function. And when I drag using keyboard, ie '.' and
arrow keys, no handle events are fired including
@Override
protected boolean handleKeyDown(KeyEvent e) {
return super.handleKeyDown(e);
}
@Override
protected void handleKeyTraversed(TraverseEvent event)
{
super.handleKeyTraversed(event);
}
@Override
protected boolean handleKeyUp(KeyEvent e) {
return super.handleKeyUp(e);
}
How can I handle the drag on using arrow key ?.
Thanks In Advance,
Nagesh
|
|
|
Powered by
FUDForum. Page generated in 0.06920 seconds