Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 321452
Collapse All | Expand All

(-)src/org/eclipse/draw2d/AbstractPointListShape.java (-2 lines)
Lines 74-80 Link Here
74
	 *            the Point to be added to this figure
74
	 *            the Point to be added to this figure
75
	 */
75
	 */
76
	public void addPoint(Point pt) {
76
	public void addPoint(Point pt) {
77
		erase();
78
		points.addPoint(pt);
77
		points.addPoint(pt);
79
		repaint();
78
		repaint();
80
	}
79
	}
Lines 116-122 Link Here
116
	 *            the position in this figure where the point is to be added
115
	 *            the position in this figure where the point is to be added
117
	 */
116
	 */
118
	public void insertPoint(Point pt, int index) {
117
	public void insertPoint(Point pt, int index) {
119
		erase();
120
		points.insertPoint(pt, index);
118
		points.insertPoint(pt, index);
121
		repaint();
119
		repaint();
122
	}
120
	}

Return to bug 321452