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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Mon May 16 17:44:33 MST 2005


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

Modified Files:
	DisplaySelectPane.java DictionaryPane.java 
	AdvancedSearchPane.java BooksListModel.java 
	BooksComboBoxModel.java BookListCellRenderer.java 
	BibleComboBoxModelSet.java DisplaySelectListener.java 
	PassageSelectionPane.java Msg.java BibleComboBoxModel.java 
	BibleViewPane.java DisplaySelectEvent.java 
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.

Index: BooksListModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BooksListModel.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** BooksListModel.java	10 May 2005 02:40:11 -0000	1.12
--- BooksListModel.java	17 May 2005 00:44:30 -0000	1.13
***************
*** 43,47 ****
   * in the same package or a sub class.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 43,47 ----
   * in the same package or a sub class.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: DisplaySelectListener.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/DisplaySelectListener.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DisplaySelectListener.java	10 May 2005 02:40:11 -0000	1.3
--- DisplaySelectListener.java	17 May 2005 00:44:30 -0000	1.4
***************
*** 28,32 ****
   * a command for you to execute.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 28,32 ----
   * a command for you to execute.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
***************
*** 38,42 ****
       * @param ev Describes the change
       */
!     public void passageSelected(DisplaySelectEvent ev);
  
      /**
--- 38,42 ----
       * @param ev Describes the change
       */
!     void passageSelected(DisplaySelectEvent ev);
  
      /**
***************
*** 44,47 ****
       * @param ev Describes the change
       */
!     public void bookChosen(DisplaySelectEvent ev);
  }
--- 44,47 ----
       * @param ev Describes the change
       */
!     void bookChosen(DisplaySelectEvent ev);
  }

Index: Msg.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/Msg.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Msg.java	10 May 2005 02:40:11 -0000	1.19
--- Msg.java	17 May 2005 00:44:30 -0000	1.20
***************
*** 27,35 ****
   * Compile safe Msg resource settings.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
   */
! class Msg extends MsgBase
  {
      static final Msg EMPTY_FILE = new Msg("BibleViewPane.EmptyFile"); //$NON-NLS-1$
--- 27,35 ----
   * Compile safe Msg resource settings.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
   */
! final class Msg extends MsgBase
  {
      static final Msg EMPTY_FILE = new Msg("BibleViewPane.EmptyFile"); //$NON-NLS-1$

Index: DisplaySelectPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/DisplaySelectPane.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** DisplaySelectPane.java	10 May 2005 02:40:11 -0000	1.35
--- DisplaySelectPane.java	17 May 2005 00:44:30 -0000	1.36
***************
*** 69,73 ****
   * Passage Selection area.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 69,73 ----
   * Passage Selection area.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
***************
*** 475,487 ****
      public static void setNumRankedVerses(int newNumRankedVerses)
      {
!         if (newNumRankedVerses < 0)
          {
!             newNumRankedVerses = 0;
          }
!         else if (newNumRankedVerses > maxNumRankedVerses)
          {
!             newNumRankedVerses = maxNumRankedVerses;
          }
!         numRankedVerses = newNumRankedVerses;
      }
  
--- 475,488 ----
      public static void setNumRankedVerses(int newNumRankedVerses)
      {
!         int count = newNumRankedVerses;
!         if (count < 0)
          {
!             count = 0;
          }
!         else if (count > maxNumRankedVerses)
          {
!             count = maxNumRankedVerses;
          }
!         numRankedVerses = count;
      }
  
***************
*** 499,507 ****
      public static void setMaxNumRankedVerses(int newMaxNumRankedVerses)
      {
!         if (newMaxNumRankedVerses < numRankedVerses)
          {
!             newMaxNumRankedVerses = numRankedVerses;
          }
!         maxNumRankedVerses = newMaxNumRankedVerses;
      }
  
--- 500,509 ----
      public static void setMaxNumRankedVerses(int newMaxNumRankedVerses)
      {
!         int count = newMaxNumRankedVerses;
!         if (count < numRankedVerses)
          {
!             count = numRankedVerses;
          }
!         maxNumRankedVerses = count;
      }
  

Index: BooksComboBoxModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BooksComboBoxModel.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** BooksComboBoxModel.java	10 May 2005 02:40:11 -0000	1.10
--- BooksComboBoxModel.java	17 May 2005 00:44:30 -0000	1.11
***************
*** 32,36 ****
   * and gives access to the list of current Bibles.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 32,36 ----
   * and gives access to the list of current Bibles.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: AdvancedSearchPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/AdvancedSearchPane.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** AdvancedSearchPane.java	10 May 2005 02:40:11 -0000	1.11
--- AdvancedSearchPane.java	17 May 2005 00:44:30 -0000	1.12
***************
*** 63,67 ****
   * An advanced search dialog.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 63,67 ----
   * An advanced search dialog.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
***************
*** 145,149 ****
                  if (source.getValueIsAdjusting())
                  {
!                    setLabelRank(val);
                  }
                  else
--- 145,149 ----
                  if (source.getValueIsAdjusting())
                  {
!                     setLabelRank(val);
                  }
                  else

Index: DisplaySelectEvent.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/DisplaySelectEvent.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** DisplaySelectEvent.java	10 May 2005 02:40:11 -0000	1.9
--- DisplaySelectEvent.java	17 May 2005 00:44:30 -0000	1.10
***************
*** 30,34 ****
   * A DisplaySelectEvent happens whenever a user makes a command.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 30,34 ----
   * A DisplaySelectEvent happens whenever a user makes a command.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: BibleComboBoxModelSet.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BibleComboBoxModelSet.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** BibleComboBoxModelSet.java	10 May 2005 02:40:11 -0000	1.5
--- BibleComboBoxModelSet.java	17 May 2005 00:44:30 -0000	1.6
***************
*** 37,41 ****
   * A set of correctly constructed and linked BibleComboBoxModels.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 37,41 ----
   * A set of correctly constructed and linked BibleComboBoxModels.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: BookListCellRenderer.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BookListCellRenderer.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** BookListCellRenderer.java	10 May 2005 02:40:11 -0000	1.10
--- BookListCellRenderer.java	17 May 2005 00:44:30 -0000	1.11
***************
*** 42,46 ****
   * has made us implement ListCellRenderer directory and I'm not sure what.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 42,46 ----
   * has made us implement ListCellRenderer directory and I'm not sure what.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: PassageSelectionPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/PassageSelectionPane.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** PassageSelectionPane.java	10 May 2005 02:40:11 -0000	1.20
--- PassageSelectionPane.java	17 May 2005 00:44:30 -0000	1.21
***************
*** 71,75 ****
   * A JPanel (or dialog) that presents a interactive GUI way to select passages.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 71,75 ----
   * A JPanel (or dialog) that presents a interactive GUI way to select passages.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: BibleViewPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BibleViewPane.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** BibleViewPane.java	10 May 2005 02:40:11 -0000	1.17
--- BibleViewPane.java	17 May 2005 00:44:30 -0000	1.18
***************
*** 55,59 ****
   * for navigating and minipulating parts of passage and for viewing a passage.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 55,59 ----
   * for navigating and minipulating parts of passage and for viewing a passage.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: BibleComboBoxModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BibleComboBoxModel.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** BibleComboBoxModel.java	10 May 2005 02:40:11 -0000	1.10
--- BibleComboBoxModel.java	17 May 2005 00:44:30 -0000	1.11
***************
*** 33,37 ****
   * A ComboBoxModel for selecting book/chapter/verse.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 33,37 ----
   * A ComboBoxModel for selecting book/chapter/verse.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: DictionaryPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/DictionaryPane.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** DictionaryPane.java	10 May 2005 02:40:11 -0000	1.21
--- DictionaryPane.java	17 May 2005 00:44:30 -0000	1.22
***************
*** 59,63 ****
   * Builds a panel on which all the Dictionaries and their entries are visible.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 59,63 ----
   * Builds a panel on which all the Dictionaries and their entries are visible.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]



More information about the jsword-svn mailing list