@@ -0,0 +1,2433 @@
+package org.mwc.debrief.lite.gui;%0A%0Aimport java.text.DateFormat;%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Date;%0A%0Aimport Debrief.GUI.Tote.StepControl;%0Aimport MWC.GUI.ToolParent;%0Aimport MWC.GUI.Properties.PropertiesPanel;%0Aimport MWC.GenericData.HiResDate;%0Aimport MWC.GenericData.TimePeriod;%0A%0Apublic class LiteStepControl extends StepControl%0A%7B%0A%0A  public static interface SliderControls%0A  %7B%0A    public HiResDate getToolboxStartTime();%0A%0A    public HiResDate getToolboxEndTime();%0A%0A    public void setToolboxStartTime(final HiResDate val);%0A%0A    public void setToolboxEndTime(final HiResDate val);%0A  %7D%0A  %0A  public static interface TimeLabel%0A  %7B%0A    void setValue(String text);%0A  %7D%0A%0A  private SliderControls _slider;%0A  private TimeLabel _timeLabel;%0A  %0A  public LiteStepControl(ToolParent parent)%0A  %7B%0A    super(parent);%0A    // TODO Auto-generated constructor stub%0A  %7D%0A  %0A  public void setPeriod(TimePeriod period, HiResDate curTime)%0A  %7B%0A    _slider.setToolboxStartTime(period.getStartDTG());%0A    _slider.setToolboxEndTime(period.getEndDTG());%0A    _timeLabel.setValue(getNewTime(curTime));%0A  %7D%0A%0A  public void setTimeLabel(final TimeLabel label)%0A  %7B%0A    _timeLabel = label;%0A  %7D%0A  %0A  public void setSliderControls(SliderControls slider)%0A  %7B%0A    _slider = slider;%0A  %7D%0A  %0A  @Override%0A  protected void initForm()%0A  %7B%0A    throw new IllegalArgumentException(%22not implemented%22);%0A  %7D%0A%0A  @Override%0A  protected void updateForm(HiResDate DTG)%0A  %7B%0A    DateFormat df = new SimpleDateFormat(%22yymmdd hhMMss%22);%0A    String str = df.format(new Date(DTG.getDate().getTime()));%0A    _timeLabel.setValue(str);%0A  %7D%0A%0A  @Override%0A  protected void formatTimeText()%0A  %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  protected PropertiesPanel getPropertiesPanel()%0A  %7B%0A    // TODO Auto-generated method stub%0A    return null;%0A  %7D%0A%0A  @Override%0A  protected void doEditPainter()%0A  %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  protected void painterIsDefined()%0A  %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public HiResDate getToolboxStartTime()%0A  %7B%0A    return _slider.getToolboxStartTime();%0A  %7D%0A%0A  @Override%0A  public HiResDate getToolboxEndTime()%0A  %7B%0A    return _slider.getToolboxEndTime();%0A  %7D%0A%0A  @Override%0A  public void setToolboxStartTime(HiResDate val)%0A  %7B%0A    _slider.setToolboxStartTime(val);%0A  %7D%0A%0A  @Override%0A  public void setToolboxEndTime(HiResDate val)%0A  %7B%0A    _slider.setToolboxEndTime(val);%0A  %7D%0A%0A%7D%0A

introduce utility class to support time controls