// Path: src/main/java/vdm/SkipMode.java
// public enum SkipMode {
// 
//     SKIP_AHEAD("Standard: Use SkipAhead VDM factory"),
//     NO_SKIPS("No tick skipping (older SrcDemo\u00B2 workaround)"),
//     DEMO_TIMESCALE("Run demo_timescale before each segment");
// 
//     private String description;
// 
//     SkipMode(String description) {
//         this.description = description;
//     }
// 
//     public String getDescription() {
//         return description;
//     }
// 
//     @Override
//     public String toString() {
//         return description;
//     }
// 
// }
// 
// Path: src/main/java/vdm/Tick/Exec.java
// public class Exec extends AbstractExec {
//     public static final String Text = "Add Exec";
//     public static final String Segment = "exec";
//     public static final String Template = "exec spec_player";
//     public static final String QuitTemplate = "exec quit";
// 
//     public Exec(File demoFile, String demoname, int start, String template) {
//         super(demoFile, demoname, start, start, Segment, template);
//     }
// 
//     public String getCommand(int count) {
//         return getTemplate();
//     }
// }
// 
// Path: src/main/java/vdm/Tick/ExecRecord.java
// public class ExecRecord extends AbstractExec {
//     public static final String Segment = "exec_record";
//     public static final String Template = "mirv_camimport start \"{{BVH_PATH}}\"";
//     public static final String Text = "Add Exec + Record";
// 
//     public ExecRecord(File demoFile, String demoname, int start, int end, String template) throws NumberFormatException {
//         super(demoFile, demoname, start, end, Segment, template);
//         if (start >= end) {
//             throw new NumberFormatException(String.format("end tick (%d) must be greater than start tick (%d)", end, start));
//         }
//     }
// 
//     public String getCommand(int count) {
//         return "exec " + Util.stripFilenameExtension(getDemoFile().getName()) + "_" + count + "; startrecording";
//     }
// }
// 
// Path: src/main/java/vdm/Tick/Record.java
// public class Record extends Tick {
//     public static final String Segment = "record";
//     public static final String Template = "N/A";
//     public static final String Text = "Add Record";
// 
//     public Record(File demoFile, String demoname, int start, int end) throws NumberFormatException {
//         super(demoFile, demoname, start, end, Segment, Template);
//         if (start >= end) {
//             throw new NumberFormatException(String.format("end tick (%d) must be greater than start tick (%d)", end, start));
//         }
//     }
// }


import vdm.SkipMode;
import vdm.Tick.Exec;
import vdm.Tick.ExecRecord;
import vdm.Tick.Record;
import javax.swing.*;
import java.awt.*;
package ui;



public class DemoEditorView extends JPanel {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private JLabel lblSelectDemoFile;
    private JTextField txtDemofile;
    private JButton btnBrowse;
    private JLabel lblStartTick;
    private JTextField txtStarttick;
    private JLabel lblEndTick;
    private JTextField txtEndtick;
    private JButton btnAdd;
    private JPanel panelButtonsLeft;
    private JButton btnClearTickList;
    private JButton btnCreateVdmFiles;
    private JButton btnDeleteVdmFiles;
    private JScrollPane scrollPane_1;
    private JTable tableTicks;
    private JPanel panelButtonsRight;
    private JButton btnDeleteSelectedTick;
    private JScrollPane scrollPane;
    private JTextArea txtrDemodetails;
    private JCheckBox chckbxSrcDemoFix;
    private JButton btnAddExecRecord;
    private JButton btnAddExec;
    private JLabel lblSkipMode;
// Path: src/main/java/vdm/SkipMode.java
// public enum SkipMode {
// 
//     SKIP_AHEAD("Standard: Use SkipAhead VDM factory"),
//     NO_SKIPS("No tick skipping (older SrcDemo\u00B2 workaround)"),
//     DEMO_TIMESCALE("Run demo_timescale before each segment");
// 
//     private String description;
// 
//     SkipMode(String description) {
//         this.description = description;
//     }
// 
//     public String getDescription() {
//         return description;
//     }
// 
//     @Override
//     public String toString() {
//         return description;
//     }
// 
// }
// 
// Path: src/main/java/vdm/Tick/Exec.java
// public class Exec extends AbstractExec {
//     public static final String Text = "Add Exec";
//     public static final String Segment = "exec";
//     public static final String Template = "exec spec_player";
//     public static final String QuitTemplate = "exec quit";
// 
//     public Exec(File demoFile, String demoname, int start, String template) {
//         super(demoFile, demoname, start, start, Segment, template);
//     }
// 
//     public String getCommand(int count) {
//         return getTemplate();
//     }
// }
// 
// Path: src/main/java/vdm/Tick/ExecRecord.java
// public class ExecRecord extends AbstractExec {
//     public static final String Segment = "exec_record";
//     public static final String Template = "mirv_camimport start \"{{BVH_PATH}}\"";
//     public static final String Text = "Add Exec + Record";
// 
//     public ExecRecord(File demoFile, String demoname, int start, int end, String template) throws NumberFormatException {
//         super(demoFile, demoname, start, end, Segment, template);
//         if (start >= end) {
//             throw new NumberFormatException(String.format("end tick (%d) must be greater than start tick (%d)", end, start));
//         }
//     }
// 
//     public String getCommand(int count) {
//         return "exec " + Util.stripFilenameExtension(getDemoFile().getName()) + "_" + count + "; startrecording";
//     }
// }
// 
// Path: src/main/java/vdm/Tick/Record.java
// public class Record extends Tick {
//     public static final String Segment = "record";
//     public static final String Template = "N/A";
//     public static final String Text = "Add Record";
// 
//     public Record(File demoFile, String demoname, int start, int end) throws NumberFormatException {
//         super(demoFile, demoname, start, end, Segment, Template);
//         if (start >= end) {
//             throw new NumberFormatException(String.format("end tick (%d) must be greater than start tick (%d)", end, start));
//         }
//     }
// }


// Path: src/main/java/ui/DemoEditorView.java
import vdm.SkipMode;
import vdm.Tick.Exec;
import vdm.Tick.ExecRecord;
import vdm.Tick.Record;
import javax.swing.*;
import java.awt.*;

package ui;



public class DemoEditorView extends JPanel {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private JLabel lblSelectDemoFile;
    private JTextField txtDemofile;
    private JButton btnBrowse;
    private JLabel lblStartTick;
    private JTextField txtStarttick;
    private JLabel lblEndTick;
    private JTextField txtEndtick;
    private JButton btnAdd;
    private JPanel panelButtonsLeft;
    private JButton btnClearTickList;
    private JButton btnCreateVdmFiles;
    private JButton btnDeleteVdmFiles;
    private JScrollPane scrollPane_1;
    private JTable tableTicks;
    private JPanel panelButtonsRight;
    private JButton btnDeleteSelectedTick;
    private JScrollPane scrollPane;
    private JTextArea txtrDemodetails;
    private JCheckBox chckbxSrcDemoFix;
    private JButton btnAddExecRecord;
    private JButton btnAddExec;
    private JLabel lblSkipMode;
    private JComboBox<SkipMode> cmbSkipMode;