How can I handle the drag, using arrow keys? [message #202317] |
Tue, 19 August 2008 04:41 |
Nagesh![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=nagesha.yj%40in.bosch.com) Messages: 55 Registered: July 2009 |
Member |
|
|
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.02669 seconds