[brailleblaster] Putative Java tree for BrailleBlaster

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Mon, 22 Nov 2010 13:26:09 -0600

I've started to build a putative Java tree for BrailleBlaster, partly 
because I feel that we are ready for such an attempt and partly to learn 
by doing. So far I have a bin subdirectory for compiled classes, a lib 
subdirectory for jar files and a few classes from elsewhere, and a src 
subdirectory. Both the bin and src subdirectories are proper Java 
hierarchies.

Under src/org/brailleblaster I have the following packages: startbb 
liblouisutdml and editor The first contains the StartBB class, which 
contains the main method and gets everything ready to run. It may have 
other classes as time goes on. The liblouisutdml package contains 
classes for dealing with the liblouisutdml library, such as converting 
its input and output from and to JDOM documents and handling errors 
reported in the log file.

The editor package contains the classes Editor, DaisyWindow and 
BrailleWindow. Other classes will be added, such as Commons to handle 
operations common to the two windows. A method in the Editor class is 
called from the StartBB class to start the editor. This Editor class is 
the Control in MVC. The two window classes are the view. The Commons 
class is the model. 

The editor's basic function is to display JDOM documents and trees and 
to modify them according to user input. Producing them and generating 
various types of output from them is the job of other packages. Besides 
this basic function, the edotor also acts as the general user 
interface. It therefore displays dialogue boxes and menus that are 
actually produced by other packages, such as the help package, which has 
yet to be added.

At some time I may want to push this tree to the project repository, but 
I don't seem to have a password.

At present the lib subdirectory contains jdom.jar swt.jar and 
Jliblouisutdml.class Jeuclid.jar will be added later, as will jar files 
containing classes to deal with other C libraries, such as itex2mml.jar 
and hunspell.jar

All right, maybe I'm making a fool of myself again, but this is a 
start.

John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


Other related posts: