graphic.getGraphic().distance(e.getX(), e.getY()) < 2) {
graphic.getGraphic().distanceToEdge(e.getX(), e.getY()) < 2) {
    public boolean mouseMoved(MouseEvent e) {	Debug.message("eomgdetail", "CircleStateMachine|selected state|mouseMoved");	GrabPoint mp = graphic.getMovingPoint(e);	if (mp == null) {	    if (graphic.getCanGrabGraphic() &&		graphic.getGraphic().distance(e.getX(), e.getY()) < 2) {		graphic.fireEvent(EOMGCursors.EDIT, "Click and Drag edge to resize.");	    } else {		graphic.fireEvent(EOMGCursors.DEFAULT, "");	    }	} else {	    graphic.fireEvent(EOMGCursors.EDIT, "Click and Drag to change the graphic.");	}	return false;    }