> > Hopefully that summary is enough detail? The inability of the AWT Robot to
> > work is something that all macs share.
> I have no idea about how to solve this? Anyone an idea?
What about my idea? The Enter key just ends up going into the key handler 
system where it hunts down a command and gets executed. We could construct the 
Enter event and send it to the key handler system and call it a day? 

KeyStroke cr = KeyStroke.getInstance(0,SWT.CR);
KeyStroke lf = KeyStroke.getInstance(0,SWT.LF) 

And SWTBot is the thing that works like AWT Robot (i.e. something that is 
intended for writing test cases that you can use to poke buttons). There is a 
chapter on SWTBot in the last eclipse book I got ...

http://www.eclipse.org/swtbot/

However it is probably over kill; we could just use the keystroke(s) to search 
for an appropriate handler... would have to see how keybindings work.

Jody
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to