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 * ID for Serialization. 016 */ 017 private static final long serialVersionUID = -8617495519694983056L; 018 019 /** 020 * Add button with stop action. 021 * @param fs - <code>FormSheet</code> to be changed. 022 */ 023 protected void createFormSheetContent(FormSheet fs) { 024 fs.removeAllButtons(); 025 fs.addButton("Close", 1, new StopAction()); 026 } 027 028 }