Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 692 → Rev 693

/sun/xmleditor/trunk/src/control/SchemaExtensionFilter.java
4,10 → 4,10
* Coded by: Group 5, software practice summer 2003
* University of Bielefeld, Germany
*
* @version $Revision: 1.5 $
* @version $Revision: 1.6 $
*
* Last modification: $Date: 2003/07/15 18:52:17 $
* $Id: SchemaExtensionFilter.java,v 1.5 2003/07/15 18:52:17 smcsporr Exp $
* Last modification: $Date: 2003/07/16 18:19:28 $
* $Id: SchemaExtensionFilter.java,v 1.6 2003/07/16 18:19:28 smcsporr Exp $
*/
 
package src.control;
18,9 → 18,11
* The <b><code>SchemaExtensionFilter</code></b> class is a file filter that does only
* accept file names with the extension *.xsd or *.XSD.
*
* @see javax.swing.filechooser.FileFilter
*
* @author S. McSporran
*
* @version $Revision: 1.5 $ Last modification: $Date: 2003/07/15 18:52:17 $
* @version $Revision: 1.6 $ Last modification: $Date: 2003/07/16 18:19:28 $
*/
public class SchemaExtensionFilter extends javax.swing.filechooser.FileFilter {
29,9 → 31,12
/**
* The method <code>accept</code> decides whether a file will be passed by the filter.
*
* author S. McSporran
* @see javax.swing.filechooser.FileFilter#accept
*
* @param f: A representation of a file's name.
*
* author S. McSporran
*
* Last revision: 14-Jul-2003 by S. McSporran
*/
public boolean accept(File f) {
62,6 → 67,8
 
/**
* Implementation of the abstract <code>getDescription</code> method.
*
* @see javax.swing.filechooser.FileFilter#getDescription
*/
public String getDescription() {
return "XML grammar files (*.xsd, *.XSD)";