[jsword-svn] biblemapper/java/main/org/crosswire/biblemapper/swing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Fri Apr 1 10:10:10 MST 2005


Update of /cvs/jsword/biblemapper/java/main/org/crosswire/biblemapper/swing
In directory www.crosswire.org:/tmp/cvs-serv5417/java/main/org/crosswire/biblemapper/swing

Modified Files:
	Mapper.java CliMapper.java 
Log Message:
Improved ranking, bible display and fixed a few bugs.

Index: Mapper.java
===================================================================
RCS file: /cvs/jsword/biblemapper/java/main/org/crosswire/biblemapper/swing/Mapper.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Mapper.java	9 Mar 2005 18:30:26 -0000	1.5
--- Mapper.java	1 Apr 2005 17:10:08 -0000	1.6
***************
*** 57,61 ****
  import org.crosswire.jsword.book.Book;
  import org.crosswire.jsword.book.BookFilters;
- import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.Books;
  import org.crosswire.jsword.passage.BibleInfo;
--- 57,60 ----
***************
*** 158,164 ****
              config.localToApplication();
  
!             List dicts = Books.installed().getBookMetaDatas(BookFilters.getBibles());
!             BookMetaData bmd = (BookMetaData) dicts.get(0);
!             Book book = bmd.getBook();
  
              la = new LinkArray(book);
--- 157,162 ----
              config.localToApplication();
  
!             List dicts = Books.installed().getBooks(BookFilters.getBibles());
!             Book book = (Book) dicts.get(0);
  
              la = new LinkArray(book);
***************
*** 913,917 ****
              if (reply == BookChooser.APPROVE_OPTION)
              {
!                 Book book = chooser.getSelected().getBook();
                  la = new LinkArray(book);
                  lar.setLinkArray(la);
--- 911,915 ----
              if (reply == BookChooser.APPROVE_OPTION)
              {
!                 Book book = chooser.getSelected();
                  la = new LinkArray(book);
                  lar.setLinkArray(la);

Index: CliMapper.java
===================================================================
RCS file: /cvs/jsword/biblemapper/java/main/org/crosswire/biblemapper/swing/CliMapper.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CliMapper.java	9 Oct 2004 21:44:42 -0000	1.5
--- CliMapper.java	1 Apr 2005 17:10:08 -0000	1.6
***************
*** 9,13 ****
  import org.crosswire.jsword.book.BookData;
  import org.crosswire.jsword.book.BookFilters;
- import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.Books;
  import org.crosswire.jsword.book.search.parse.IndexSearcher;
--- 9,12 ----
***************
*** 67,73 ****
              PrintWriter xlout = new PrintWriter(new FileOutputStream("c:\\sheet.csv"));
  
!             List dicts = Books.installed().getBookMetaDatas(BookFilters.getBibles());
!             BookMetaData bmd = (BookMetaData) dicts.get(0);
!             Book book = bmd.getBook();
              //Matcher engine = new Matcher(bible);
  
--- 66,71 ----
              PrintWriter xlout = new PrintWriter(new FileOutputStream("c:\\sheet.csv"));
  
!             List dicts = Books.installed().getBooks(BookFilters.getBibles());
!             Book book = (Book) dicts.get(0);
              //Matcher engine = new Matcher(bible);
  



More information about the jsword-svn mailing list