public void notifyListener(OMGraphic graphic,OMAction action){
  if (requestor != null) {
    if (DEBUG) {
      Debug.output("OMDrawingTool: notifying requestor, graphic with action");
    }
    requestor.drawingComplete(graphic,action);
  }
  if (canvas != null) {
    canvas.repaint();
  }
}

public void notifyListener ( OMGraphic graphic , OMAction action ) { if ( requestor != null ) { if ( DEBUG ) { Debug . output ( "OMDrawingTool: notifying requestor, graphic with action" ) ; } requestor . drawingComplete ( graphic , action ) ; } if ( canvas != null ) { canvas . repaint ( ) ; } }
notify the listener of an action to a graphic .
