public void setPointQ(FpPoint q) { if (q == null) { pointQ = null; lblQ.setText(""); // $NON-NLS-1$ setPointR(null); } else { pointQ = q; lblQ.setText( "(" + ((double) pointQ.x / 100) + "|" + ((double) pointQ.y / 100) + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ btnDeletePoints.setEnabled(true); view.log( Messages.getString("ECView.Point") + " Q = " + "(" + ((double) pointQ.x / 100) + "|" + ((double) pointQ.y / 100) + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ setPointR(curve.addPoints(pointP, pointQ)); } updateCurve(false); }