001    package videoautomat.contentcreator;
002    
003    import sale.FormSheet;
004    import sale.FormSheetContentCreator;
005    import videoautomat.contentcreator.stdactions.StopAction;
006    
007    /**
008     * Content creator to add button with stop action.
009     * @author Alexander Herrmann
010     *
011     */
012    public class AdminLTFContentCreator extends FormSheetContentCreator {
013    
014        /**
015         * Add button with stop action.
016         * @param fs - <code>FormSheet</code> to be changed.
017         */
018        protected void createFormSheetContent(FormSheet fs) {
019            fs.removeAllButtons();
020                    fs.addButton("Close", 1, new StopAction());
021        }
022    
023    }