From: <chr...@us...> - 2006-06-25 00:00:41
|
Revision: 131 Author: christianhujer Date: 2006-06-24 17:00:30 -0700 (Sat, 24 Jun 2006) ViewCVS: http://svn.sourceforge.net/japi/?rev=131&view=rev Log Message: ----------- Replaced old bookmarks package with JAPI usage. Modified Paths: -------------- trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/jtest/gui/ProgramFrame.java trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/recent/RecentURLsMenu.java Removed Paths: ------------- trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/bookmarks/ trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/io/CanLoad.java Modified: trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/jtest/gui/ProgramFrame.java =================================================================== --- trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/jtest/gui/ProgramFrame.java 2006-06-24 23:59:53 UTC (rev 130) +++ trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/jtest/gui/ProgramFrame.java 2006-06-25 00:00:30 UTC (rev 131) @@ -45,8 +45,6 @@ import javax.swing.JToolBar; import net.sf.japi.progs.jeduca.jtest.Program; import net.sf.japi.progs.jeduca.jtest.Settings; -import net.sf.japi.progs.jeduca.swing.bookmarks.BookmarkManager; -import net.sf.japi.progs.jeduca.swing.bookmarks.Bookmarkable; import net.sf.japi.progs.jeduca.swing.settings.SettingsModule; import net.sf.japi.progs.jeduca.swing.settings.SettingsPane; import net.sf.japi.progs.jeduca.swing.io.ImporterFileFilter; @@ -59,6 +57,8 @@ import net.sf.japi.swing.ActionFactory; import net.sf.japi.swing.ToolBarLayout; import net.sf.japi.swing.LookAndFeelManager; +import net.sf.japi.swing.bookmarks.BookmarkManager; +import net.sf.japi.swing.bookmarks.Bookmarkable; /** Programmfenster. * @author $Author: chris $ Deleted: trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/io/CanLoad.java =================================================================== --- trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/io/CanLoad.java 2006-06-24 23:59:53 UTC (rev 130) +++ trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/io/CanLoad.java 2006-06-25 00:00:30 UTC (rev 131) @@ -1,37 +0,0 @@ -/* JAPI - (Yet another (hopefully) useful) Java API - * - * Copyright (C) 2004-2006 Christian Hujer - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ - -package net.sf.japi.progs.jeduca.swing.io; - -/** Interface to be implemented by classes that are able to load a URL. - * @author $Author: chris $ - * @version $Id: CanLoad.java,v 1.1 2004/12/28 23:51:22 chris Exp $ - */ -public interface CanLoad { - - /** Load a document. - * This method does not declare any exceptions. - * The implementor of this method is responsible for handling any exceptional conditions which might occur during the load operation. - * @param url URL to load - * @return <code>true</code> if and only if loading the file was successful - */ - boolean load(final String url); - -} // interface CanLoad Modified: trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/recent/RecentURLsMenu.java =================================================================== --- trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/recent/RecentURLsMenu.java 2006-06-24 23:59:53 UTC (rev 130) +++ trunk/progs/jeduca/src/net/sf/japi/progs/jeduca/swing/recent/RecentURLsMenu.java 2006-06-25 00:00:30 UTC (rev 131) @@ -24,8 +24,8 @@ import javax.swing.AbstractAction; import javax.swing.JMenu; import javax.swing.JMenuItem; -import net.sf.japi.progs.jeduca.swing.io.CanLoad; import net.sf.japi.swing.ActionFactory; +import net.sf.japi.swing.io.CanLoad; /** Class for a menu showing the recently used URLs. * @todo think about serialization of recent and program This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |