[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/book s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Tue Mar 22 05:39:58 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book
In directory www.crosswire.org:/tmp/cvs-serv9891/java/main/org/crosswire/bibledesktop/book

Modified Files:
	DisplaySelectPane.java 
Log Message:
changed calls like book.getBookMetaData().xxx() to book.xxx().
Added a "Remove Index" button on the Book Installer.

Index: DisplaySelectPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/DisplaySelectPane.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** DisplaySelectPane.java	20 Mar 2005 02:34:56 -0000	1.26
--- DisplaySelectPane.java	22 Mar 2005 12:39:56 -0000	1.27
***************
*** 97,101 ****
          if (selected != null)
          {
!             cboBible.setToolTipText(selected.getBookMetaData().toString());
          }
          else
--- 97,102 ----
          if (selected != null)
          {
!             selected.addPropertyChangeListener(pcl);
!             cboBible.setToolTipText(selected.toString());
          }
          else
***************
*** 421,426 ****
          if (selected != null && selected != newSelected)
          {
!             selected.getBookMetaData().removePropertyChangeListener(pcl);
!             newSelected.getBookMetaData().addPropertyChangeListener(pcl);
          }
  
--- 422,427 ----
          if (selected != null && selected != newSelected)
          {
!             selected.removePropertyChangeListener(pcl);
!             newSelected.addPropertyChangeListener(pcl);
          }
  
***************
*** 473,478 ****
      {
          boolean readable = selected != null;
!         boolean searchable = readable && selected.getBookMetaData().getIndexStatus().equals(IndexStatus.DONE);
!         boolean indexable = readable && selected.getBookMetaData().getIndexStatus().equals(IndexStatus.UNDONE);
  
          txtSearch.setEnabled(searchable);
--- 474,479 ----
      {
          boolean readable = selected != null;
!         boolean searchable = readable && selected.getIndexStatus().equals(IndexStatus.DONE);
!         boolean indexable = readable && selected.getIndexStatus().equals(IndexStatus.UNDONE);
  
          txtSearch.setEnabled(searchable);



More information about the jsword-svn mailing list