[jsword-svn] common/java/swing/org/crosswire/common/swing/desktop s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Mon May 16 17:47:03 MST 2005
Update of /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop
In directory www.crosswire.org:/tmp/cvs-serv25437/java/swing/org/crosswire/common/swing/desktop
Modified Files:
ViewGenerator.java MDIViewLayout.java AbstractViewLayout.java
Viewable.java ViewVisitor.java ViewManager.java
TabPopupListener.java Titleable.java LayoutType.java
TDIViewLayout.java Clearable.java ToolBar.java Msg.java
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.
Index: Msg.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/Msg.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Msg.java 10 May 2005 02:10:40 -0000 1.3
--- Msg.java 17 May 2005 00:47:01 -0000 1.4
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 6,30 ****
* Compile safe Msg resource settings.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
*/
! public class Msg extends MsgBase
{
// Strings for AbstractViewLayout
--- 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]
*/
! public final class Msg extends MsgBase
{
// Strings for AbstractViewLayout
Index: TDIViewLayout.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/TDIViewLayout.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TDIViewLayout.java 10 May 2005 02:10:40 -0000 1.4
--- TDIViewLayout.java 17 May 2005 00:47:01 -0000 1.5
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 13,34 ****
* as tabs.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
* @author DM Smith [dmsmith555 at yahoo dot com]
--- 34,39 ----
* as tabs.
*
! * @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]
* @author DM Smith [dmsmith555 at yahoo dot com]
Index: ViewGenerator.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/ViewGenerator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ViewGenerator.java 10 May 2005 02:10:40 -0000 1.2
--- ViewGenerator.java 17 May 2005 00:47:01 -0000 1.3
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 8,29 ****
* of view.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
--- 29,34 ----
* of view.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
***************
*** 34,37 ****
* @return a view that can be used as a "window"
*/
! public Component createView();
}
--- 39,42 ----
* @return a view that can be used as a "window"
*/
! Component createView();
}
Index: ViewVisitor.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/ViewVisitor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ViewVisitor.java 10 May 2005 02:10:40 -0000 1.2
--- ViewVisitor.java 17 May 2005 00:47:01 -0000 1.3
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 6,31 ****
* A visitor for views held by a layout.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
public interface ViewVisitor
{
! public void visitView(Component view);
}
--- 27,36 ----
* A visitor for views held by a layout.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
public interface ViewVisitor
{
! void visitView(Component view);
}
Index: TabPopupListener.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/TabPopupListener.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TabPopupListener.java 10 May 2005 02:10:40 -0000 1.2
--- TabPopupListener.java 17 May 2005 00:47:01 -0000 1.3
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 12,33 ****
* A mouse listener for a tabbed pane that can display a popup menu.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
--- 33,38 ----
* A mouse listener for a tabbed pane that can display a popup menu.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
Index: Titleable.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/Titleable.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Titleable.java 10 May 2005 02:10:40 -0000 1.3
--- Titleable.java 17 May 2005 00:47:01 -0000 1.4
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 6,27 ****
* A Titleable object has a title which may be gotten.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
--- 27,32 ----
* A Titleable object has a title which may be gotten.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
***************
*** 34,38 ****
* @return the title
*/
! public String getTitle();
/**
--- 39,43 ----
* @return the title
*/
! String getTitle();
/**
***************
*** 40,44 ****
* @param listener
*/
! public void addTitleChangedListener(TitleChangedListener listener);
/**
--- 45,49 ----
* @param listener
*/
! void addTitleChangedListener(TitleChangedListener listener);
/**
***************
*** 46,49 ****
* @param listener
*/
! public void removeTitleChangedListener(TitleChangedListener listener);
}
--- 51,54 ----
* @param listener
*/
! void removeTitleChangedListener(TitleChangedListener listener);
}
Index: MDIViewLayout.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/MDIViewLayout.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MDIViewLayout.java 10 May 2005 02:10:40 -0000 1.4
--- MDIViewLayout.java 17 May 2005 00:47:01 -0000 1.5
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 19,40 ****
* as sub-windows.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
* @author DM Smith [dmsmith555 at yahoo dot com]
--- 40,45 ----
* as sub-windows.
*
! * @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]
* @author DM Smith [dmsmith555 at yahoo dot com]
Index: LayoutType.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/LayoutType.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** LayoutType.java 10 May 2005 02:10:40 -0000 1.5
--- LayoutType.java 17 May 2005 00:47:01 -0000 1.6
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 11,32 ****
* </ul>
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
* @author DM Smith [dmsmith555 at yahoo dot com]
--- 32,37 ----
* </ul>
*
! * @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]
* @author DM Smith [dmsmith555 at yahoo dot com]
***************
*** 193,197 ****
{
TDI,
! MDI
};
}
--- 198,202 ----
{
TDI,
! MDI,
};
}
Index: Viewable.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/Viewable.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Viewable.java 10 May 2005 02:10:40 -0000 1.4
--- Viewable.java 17 May 2005 00:47:01 -0000 1.5
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 10,31 ****
* Interface defining what is Viewable.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
--- 31,36 ----
* Interface defining what is Viewable.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
***************
*** 35,44 ****
* Add a view to the set.
*/
! public abstract void addView(Component component);
/**
* Remove a view from the set.
*/
! public abstract void removeView(Component component);
/**
--- 40,49 ----
* Add a view to the set.
*/
! void addView(Component component);
/**
* Remove a view from the set.
*/
! void removeView(Component component);
/**
***************
*** 46,50 ****
* @return the views
*/
! public abstract Collection getViews();
/**
--- 51,55 ----
* @return the views
*/
! Collection getViews();
/**
***************
*** 52,56 ****
* @return an iterator over the views.
*/
! public abstract Iterator iterator();
/**
--- 57,61 ----
* @return an iterator over the views.
*/
! Iterator iterator();
/**
***************
*** 58,62 ****
* @param other the other layout
*/
! public abstract void moveTo(AbstractViewLayout other);
/**
--- 63,67 ----
* @param other the other layout
*/
! void moveTo(AbstractViewLayout other);
/**
***************
*** 64,68 ****
* This will keep the last one added.
*/
! public abstract void closeAll();
/**
--- 69,73 ----
* This will keep the last one added.
*/
! void closeAll();
/**
***************
*** 70,74 ****
* @param component the view that is to remain open.
*/
! public abstract void closeOthers(Component component);
/**
--- 75,79 ----
* @param component the view that is to remain open.
*/
! void closeOthers(Component component);
/**
***************
*** 76,80 ****
* @param visitor The visitor for the view
*/
! public abstract void visit(ViewVisitor visitor);
/**
--- 81,85 ----
* @param visitor The visitor for the view
*/
! void visit(ViewVisitor visitor);
/**
***************
*** 83,87 ****
* @param component the component whose title is to be used
*/
! public abstract void updateTitle(Component component);
/**
--- 88,92 ----
* @param component the component whose title is to be used
*/
! void updateTitle(Component component);
/**
***************
*** 89,93 ****
* first one added.
*/
! public abstract Component getSelected();
/**
--- 94,98 ----
* first one added.
*/
! Component getSelected();
/**
***************
*** 95,99 ****
* @param component
*/
! public abstract void select(Component component);
/**
--- 100,104 ----
* @param component
*/
! void select(Component component);
/**
***************
*** 101,105 ****
* @return the number of views held by this layout
*/
! public abstract int getViewCount();
/**
--- 106,110 ----
* @return the number of views held by this layout
*/
! int getViewCount();
/**
***************
*** 110,114 ****
* @return the requested view.
*/
! public abstract Component getView(int i);
/**
--- 115,119 ----
* @return the requested view.
*/
! Component getView(int i);
/**
***************
*** 117,121 ****
* @param listener the listener
*/
! public abstract void addViewEventListener(ViewEventListener listener);
/**
--- 122,126 ----
* @param listener the listener
*/
! void addViewEventListener(ViewEventListener listener);
/**
***************
*** 124,127 ****
* @param listener the listener
*/
! public abstract void removeViewEventListener(ViewEventListener listener);
}
--- 129,132 ----
* @param listener the listener
*/
! void removeViewEventListener(ViewEventListener listener);
}
Index: Clearable.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/Clearable.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Clearable.java 10 May 2005 02:10:40 -0000 1.3
--- Clearable.java 17 May 2005 00:47:01 -0000 1.4
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 4,25 ****
* A Clearable object can be cleared and can be queried to see if it is cleared.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
--- 25,30 ----
* A Clearable object can be cleared and can be queried to see if it is cleared.
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
***************
*** 29,33 ****
* Clear this object, resetting it back to its initial state.
*/
! public void clear();
/**
--- 34,38 ----
* Clear this object, resetting it back to its initial state.
*/
! void clear();
/**
***************
*** 35,38 ****
* @return whether this object is clear.
*/
! public boolean isClear();
}
--- 40,43 ----
* @return whether this object is clear.
*/
! boolean isClear();
}
Index: ToolBar.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/ToolBar.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ToolBar.java 10 May 2005 02:10:40 -0000 1.6
--- ToolBar.java 17 May 2005 00:47:01 -0000 1.7
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 25,46 ****
* </ul>
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
--- 46,51 ----
* </ul>
*
! * @see gnu.gpl.License for license details.
! * The copyright to this program is held by it's authors.
* @author DM Smith [ dmsmith555 at yahoo dot com]
*/
Index: AbstractViewLayout.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/AbstractViewLayout.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AbstractViewLayout.java 10 May 2005 02:10:40 -0000 1.2
--- AbstractViewLayout.java 17 May 2005 00:47:01 -0000 1.3
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 18,39 ****
* Abstract manager of how we layout views.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
* @author DM Smith [dmsmith555 at yahoo dot com]
--- 39,44 ----
* Abstract manager of how we layout views.
*
! * @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]
* @author DM Smith [dmsmith555 at yahoo dot com]
Index: ViewManager.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/desktop/ViewManager.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ViewManager.java 10 May 2005 02:10:40 -0000 1.4
--- ViewManager.java 17 May 2005 00:47:01 -0000 1.5
***************
*** 1,2 ****
--- 1,23 ----
+ /**
+ * Distribution License:
+ * JSword is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, version 2 as published by
+ * the Free Software Foundation. This program is distributed in the hope
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * The License is available on the internet at:
+ * http://www.gnu.org/copyleft/gpl.html
+ * or by writing to:
+ * Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA
+ *
+ * Copyright: 2005
+ * The copyright to this program is held by it's authors.
+ *
+ * ID: $Id$
+ */
package org.crosswire.common.swing.desktop;
***************
*** 24,45 ****
* as tabs or sub-windows. All the views are of the same type.
*
! * <p><table border='1' cellPadding='3' cellSpacing='0'>
! * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
! *
! * Distribution Licence:<br />
! * JSword is free software; you can redistribute it
! * and/or modify it under the terms of the GNU General Public License,
! * version 2 as published by the Free Software Foundation.<br />
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! * General Public License for more details.<br />
! * The License is available on the internet
! * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
! * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! * MA 02111-1307, USA<br />
! * The copyright to this program is held by it's authors.
! * </font></td></tr></table>
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
* @author Mark Goodwin [mark at thorubio dot org]
--- 45,50 ----
* as tabs or sub-windows. All the views are of the same type.
*
! * @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]
* @author Mark Goodwin [mark at thorubio dot org]
***************
*** 258,262 ****
* Get the initial layout type. This is to be used by "config"
*/
! private static final LayoutType getInitialViewLayoutType()
{
if (initial == null)
--- 263,267 ----
* Get the initial layout type. This is to be used by "config"
*/
! private static LayoutType getInitialViewLayoutType()
{
if (initial == null)
***************
*** 270,274 ****
* What is the current layout type?
*/
! private final LayoutType getViewLayoutType()
{
if (current == null)
--- 275,279 ----
* What is the current layout type?
*/
! private LayoutType getViewLayoutType()
{
if (current == null)
***************
*** 282,286 ****
* Set the current layout type
*/
! private final void setViewLayoutType(LayoutType newLayoutType)
{
current = newLayoutType;
--- 287,291 ----
* Set the current layout type
*/
! private void setViewLayoutType(LayoutType newLayoutType)
{
current = newLayoutType;
More information about the jsword-svn
mailing list