public synchronized OMGraphicList prepare(){
  Projection proj=getProjection();
  if (logger.isLoggable(Level.FINER)) {
    logger.finer("Updating projection with " + proj);
  }
  OMGraphicList graphicList=getList();
  if (getHeight() > 0) {
    if (graphicList == null) {
      graphicList=new OMGraphicList();
    }
 else {
      graphicList.clear();
    }
    drape=new TimeDrape(0,0,-1,-1);
    drape.setFillPaint(Color.gray);
    drape.setVisible(isNoTime);
    drape.generate(proj);
    graphicList.add(drape);
    graphicList.add(constructTimeLines(proj));
    graphicList.add(getCurrentTimeMarker(proj));
    OMGraphicList eventGraphicList=realTimeMode ? null : getEventGraphicList();
    if (eventGraphicList == null || eventGraphicList.isEmpty()) {
      eventGraphicList=getEventList(proj);
      setEventGraphicList(eventGraphicList);
    }
 else {
      if (logger.isLoggable(Level.FINER)) {
        logger.finer("don't need to re-create event lines, haven't changed with (" + eventGraphicList.size() + ") events");
      }
      eventGraphicList.generate(proj);
    }
    ratingAreas.generate(proj);
    playFilter.generate(proj);
    graphicList.add(playFilter);
    graphicList.add(eventGraphicList);
    SelectionArea selectionRenderRect=getSelectionRectangle(proj);
    if (selectionRenderRect != null) {
      graphicList.add(selectionRenderRect);
    }
    graphicList.add(ratingAreas);
  }
  return graphicList;
}

public synchronized OMGraphicList prepare ( ) { Projection proj = getProjection ( ) ; if ( logger . isLoggable ( Level . FINER ) ) { logger . finer ( "Updating projection with " + proj ) ; } OMGraphicList graphicList = getList ( ) ; if ( getHeight ( ) > 0 ) { if ( graphicList == null ) { graphicList = new OMGraphicList ( ) ; } else { graphicList . clear ( ) ; } drape = new TimeDrape ( 0 , 0 , - 1 , - 1 ) ; drape . setFillPaint ( Color . gray ) ; drape . setVisible ( isNoTime ) ; drape . generate ( proj ) ; graphicList . add ( drape ) ; graphicList . add ( constructTimeLines ( proj ) ) ; graphicList . add ( getCurrentTimeMarker ( proj ) ) ; OMGraphicList eventGraphicList = realTimeMode ? null : getEventGraphicList ( ) ; if ( eventGraphicList == null || eventGraphicList . isEmpty ( ) ) { eventGraphicList = getEventList ( proj ) ; setEventGraphicList ( eventGraphicList ) ; } else { if ( logger . isLoggable ( Level . FINER ) ) { logger . finer ( "don't need to re-create event lines, haven't changed with (" + eventGraphicList . size ( ) + ") events" ) ; } eventGraphicList . generate ( proj ) ; } ratingAreas . generate ( proj ) ; playFilter . generate ( proj ) ; graphicList . add ( playFilter ) ; graphicList . add ( eventGraphicList ) ; SelectionArea selectionRenderRect = getSelectionRectangle ( proj ) ; if ( selectionRenderRect != null ) { graphicList . add ( selectionRenderRect ) ; } graphicList . add ( ratingAreas ) ; } return graphicList ; }
creates the omgraphic list with the time and event markings .
