Hi Scott: 

The code to do the modal toolbar contributions seems to have some fun side 
effects
a) keyboard bindings work
b) default tool activated (not sure if it is set on the MapViewer or just 
activated)

To try these things out; so you can step through with a debugger and reproduce 
the same side effects ....

1) Open up MapEditorActionBarContributor

2) Edit the following

private boolean isModalIncluded = false;

3) Set the value to true and run your app; and have fun with the debugger 

-- 
Jody Garnett

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

Reply via email to