[jawsscripts] Suggestions on script for Eclipse

  • From: Alberto Zanella <alberto.zanella@xxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 22 Mar 2014 20:46:14 +0100

Hi All,

I'm pretty new on jfw scripting. I read this list from a while, and I 
found it really helpful! So Thank you first!

I work as a JAVA developer using the Eclipse IDE. So, during the time, I 
wrote few scrips to help my activity.

Two problems I was not able to solve are:
1. (easier) What is the most appropriate way to modify a Tree View? I'm 
in the following situation. I've a Tree view inside the Package 
explorer, in this tree view (that JAWS reads using MSAA) there are some 
elements. Near the element there is an icon which indicates if the 
matching file contains errors or warning. I want it reported in Braille. 
Currently I'm using ActiveItemChangedEvent with a 
ot_user_requested_information (see code below). In this way the 
information is brailled as a flash message. Are there better methods to 
edit the structured line?
2. (more difficult, I think) In the editor: when you make some mistakes, 
you are over the error with the cursor and you press F2. A read-only 
edit appears. When you exit from the EB the focus come back to the 
Editor but JAWS is not able to identify it. Also if you try to alt+tab 
or refresh OSM. It reports only blank with cursor coordinates 0,0. You 
need to swich to another document in the editor (e.g. open another Java 
class) to fix the problem and make JAWS correctly traking the editor.
I think it would be possible to save the handle of the editor and then 
set the Window with that handle as active after the user closes the 
read-only box (F2). What event do you suggest to use for saving? And 
what for re-focusing?

All the code, graphics and settings I developed are in

https://www.dropbox.com/s/1d6bxpyjtqmbybz/jfw_kepler.zip

If someone else is interested or wants to contribute is welcome, for sure!

Thanks to all,

Bye

Alberto
__________ᅵ

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: