public void releaseProxyMouseMode(){
  MapMouseMode pmmm=getProxyMouseMode();
  OMDrawingTool dt=getDrawingTool();
  if (pmmm != null && dt != null) {
    if (pmmm.isProxyFor(dt.getMouseMode())) {
      if (DTL_DEBUG) {
        Debug.output("DTL: releasing proxy on " + pmmm.getID());
      }
      pmmm.releaseProxy();
      setProxyMouseMode(null);
      fireRequestInfoLine("");
    }
    if (dt.isActivated()) {
      dt.deactivate();
    }
  }
}

public void releaseProxyMouseMode ( ) { MapMouseMode pmmm = getProxyMouseMode ( ) ; OMDrawingTool dt = getDrawingTool ( ) ; if ( pmmm != null && dt != null ) { if ( pmmm . isProxyFor ( dt . getMouseMode ( ) ) ) { if ( DTL_DEBUG ) { Debug . output ( "DTL: releasing proxy on " + pmmm . getID ( ) ) ; } pmmm . releaseProxy ( ) ; setProxyMouseMode ( null ) ; fireRequestInfoLine ( "" ) ; } if ( dt . isActivated ( ) ) { dt . deactivate ( ) ; } } }
if the drawingtoollayer is using a hidden omdrawingtool , release the proxy lock on the active mapmousemode .
