/*
 * Created on Apr 18, 2003
 *
 * FileFilter for the standard ifa drawing.
 */
package CH.ifa.draw.io;

import de.renew.io.api.FileApi;
import de.renew.ioontology.FileType;

/**
 * This FileFilter accepts standard JHotDraw drawings which have the extension "draw".
 *
 * @author Lawrence Cabac
 * @deprecated This class is not to be used externally.
 * Please use {@link FileApi#createExtensionFileFilter(FileType)} with the file type {@link FileType#DRAW} instead.
 */
@Deprecated(since = "5.0", forRemoval = true)
public class IFAFileFilter extends SimpleFileFilter {
    /**
     * Constructs and sets up IFAFileFilter to the extension draw.
     * @deprecated This constructor is not to be used externally.
     * Please use {@link FileApi#createExtensionFileFilter(FileType)} with the file type {@link FileType#EPS} instead.
     */
    @Deprecated(since = "5.0", forRemoval = true)
    public IFAFileFilter() {
        this.setExtension("draw");
        setDescription("Simple Drawing (*.draw)");
    }
}