[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/readings s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Jun 11 13:41:07 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/readings
In directory www.crosswire.org:/tmp/cvs-serv27268/java/jsword/org/crosswire/jsword/book/readings

Modified Files:
	ReadingsBook.java ReadingsBookDriver.java 
Log Message:
Made showing the sidebar a default and set it to no.
Cleaned up the code to consistently use "book" to refer to "module"

Index: ReadingsBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/readings/ReadingsBook.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** ReadingsBook.java	17 May 2005 00:43:17 -0000	1.28
--- ReadingsBook.java	11 Jun 2005 20:41:05 -0000	1.29
***************
*** 34,41 ****
  import org.crosswire.common.util.CWClassLoader;
  import org.crosswire.common.util.Logger;
  import org.crosswire.jsword.book.BookData;
  import org.crosswire.jsword.book.BookException;
  import org.crosswire.jsword.book.BookMetaData;
- import org.crosswire.jsword.book.BookType;
  import org.crosswire.jsword.book.FeatureType;
  import org.crosswire.jsword.book.OSISUtil;
--- 34,41 ----
  import org.crosswire.common.util.CWClassLoader;
  import org.crosswire.common.util.Logger;
+ import org.crosswire.jsword.book.BookCategory;
  import org.crosswire.jsword.book.BookData;
  import org.crosswire.jsword.book.BookException;
  import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.FeatureType;
  import org.crosswire.jsword.book.OSISUtil;
***************
*** 67,71 ****
       * Constructor for ReadingsBook.
       */
!     public ReadingsBook(ReadingsBookDriver driver, String name, BookType type)
      {
          BookMetaData bmd = new DefaultBookMetaData(driver, name, type);
--- 67,71 ----
       * Constructor for ReadingsBook.
       */
!     public ReadingsBook(ReadingsBookDriver driver, String name, BookCategory type)
      {
          BookMetaData bmd = new DefaultBookMetaData(driver, name, type);

Index: ReadingsBookDriver.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/readings/ReadingsBookDriver.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** ReadingsBookDriver.java	17 May 2005 00:43:17 -0000	1.17
--- ReadingsBookDriver.java	11 Jun 2005 20:41:05 -0000	1.18
***************
*** 29,34 ****
  import org.crosswire.common.util.URLFilter;
  import org.crosswire.jsword.book.Book;
  import org.crosswire.jsword.book.BookDriver;
- import org.crosswire.jsword.book.BookType;
  import org.crosswire.jsword.book.basic.AbstractBookDriver;
  
--- 29,34 ----
  import org.crosswire.common.util.URLFilter;
  import org.crosswire.jsword.book.Book;
+ import org.crosswire.jsword.book.BookCategory;
  import org.crosswire.jsword.book.BookDriver;
  import org.crosswire.jsword.book.basic.AbstractBookDriver;
  
***************
*** 49,53 ****
          books = new Book[]
          {
!             new ReadingsBook(this, Msg.TITLE.toString(), BookType.DICTIONARY),
          };
      }
--- 49,53 ----
          books = new Book[]
          {
!             new ReadingsBook(this, Msg.TITLE.toString(), BookCategory.DICTIONARY),
          };
      }



More information about the jsword-svn mailing list