private void draw(final ExecutionUnit process,final Graphics2D g2,final ProcessRendererModel rendererModel,final boolean printing){
  if (!visualizer.isActive()) {
    return;
  }
  List<Operator> selectedOperators=rendererModel.getSelectedOperators();
  for (  Operator operator : process.getOperators()) {
    if (selectedOperators.contains(operator)) {
      continue;
    }
    drawOpAnno(operator,g2,rendererModel,printing);
  }
  for (  Operator selOp : selectedOperators) {
    if (process.equals(selOp.getExecutionUnit())) {
      drawOpAnno(selOp,g2,rendererModel,printing);
    }
  }
}

private void draw ( final ExecutionUnit process , final Graphics2D g2 , final ProcessRendererModel rendererModel , final boolean printing ) { if ( ! visualizer . isActive ( ) ) { return ; } List < Operator > selectedOperators = rendererModel . getSelectedOperators ( ) ; for ( Operator operator : process . getOperators ( ) ) { if ( selectedOperators . contains ( operator ) ) { continue ; } drawOpAnno ( operator , g2 , rendererModel , printing ) ; } for ( Operator selOp : selectedOperators ) { if ( process . equals ( selOp . getExecutionUnit ( ) ) ) { drawOpAnno ( selOp , g2 , rendererModel , printing ) ; } } }
draws the operator annoations .
