001    package data.stdforms.twotableformsheet;
002    
003    import sale.stdforms.FormSheetStrategy;
004    
005    /**
006     * <i>Abstract</i> super class for all strategies that can be used with
007     * {@link data.stdforms.TwoTableFormSheet TwoTableFormSheets}.
008     *
009     * <p>There will be one subclass for each combination of source and destination.</p>
010     *
011     * @author Steffen Zschaler
012     * @version 2.0 20/08/1999
013     * @since v2.0
014     */
015    public abstract class MoveStrategy extends FormSheetStrategy {
016    
017        /**
018         * If true, a button for moving items from source to destination will be included.
019         *
020         * @override Sometimes The default implementation returns true.
021         */
022        public boolean canMoveToDest() {
023            return true;
024        }
025    
026        /**
027         * If true, a button for moving items from destination to source will be included.
028         *
029         * @override Sometimes The default implementation returns true.
030         */
031        public boolean canMoveToSource() {
032            return true;
033        }
034    }