private void drawAnnoDragIndicators(final Graphics2D g,final WorkflowAnnotation anno,final Rectangle2D loc,final boolean printing){
  if (printing) {
    return;
  }
  AnnotationDragHelper dragged=model.getDragged();
  if (dragged.getHoveredOperator() == null) {
    return;
  }
  Graphics2D g2=(Graphics2D)g.create();
  int padding=15;
  Rectangle2D opRect=rendererModel.getOperatorRect(dragged.getHoveredOperator());
  opRect=new Rectangle2D.Double(opRect.getX(),opRect.getY(),opRect.getWidth(),opRect.getHeight());
  Rectangle2D shadowRect=new Rectangle2D.Double(opRect.getX() - padding - 1,opRect.getY() - padding - 1,opRect.getWidth() + 2 * padding + 1,opRect.getHeight() + 2 * padding + 1);
  g2.setColor(DRAG_LINK_COLOR);
  g2.setStroke(DRAG_BORDER_STROKE);
  g2.draw(shadowRect);
  g2.dispose();
}

private void drawAnnoDragIndicators ( final Graphics2D g , final WorkflowAnnotation anno , final Rectangle2D loc , final boolean printing ) { if ( printing ) { return ; } AnnotationDragHelper dragged = model . getDragged ( ) ; if ( dragged . getHoveredOperator ( ) == null ) { return ; } Graphics2D g2 = ( Graphics2D ) g . create ( ) ; int padding = 15 ; Rectangle2D opRect = rendererModel . getOperatorRect ( dragged . getHoveredOperator ( ) ) ; opRect = new Rectangle2D . Double ( opRect . getX ( ) , opRect . getY ( ) , opRect . getWidth ( ) , opRect . getHeight ( ) ) ; Rectangle2D shadowRect = new Rectangle2D . Double ( opRect . getX ( ) - padding - 1 , opRect . getY ( ) - padding - 1 , opRect . getWidth ( ) + 2 * padding + 1 , opRect . getHeight ( ) + 2 * padding + 1 ) ; g2 . setColor ( DRAG_LINK_COLOR ) ; g2 . setStroke ( DRAG_BORDER_STROKE ) ; g2 . draw ( shadowRect ) ; g2 . dispose ( ) ; }
draws the drag indicators for annotations .
