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 312418 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/gef/editpolicies/ScrollableSelectionFeedbackEditPolicy.java (-2 / +4 lines)
Lines 110-117 Link Here
110
					.addPropertyChangeListener(viewportViewLocationChangeListener);
110
					.addPropertyChangeListener(viewportViewLocationChangeListener);
111
111
112
		}
112
		}
113
		getHostFigure().addLayoutListener(layoutListener);
114
		getHostFigure().addFigureListener(figureListener);
115
	}
113
	}
116
114
117
	/**
115
	/**
Lines 252-257 Link Here
252
	 * @see org.eclipse.gef.editpolicies.SelectionEditPolicy#hideSelection()
250
	 * @see org.eclipse.gef.editpolicies.SelectionEditPolicy#hideSelection()
253
	 */
251
	 */
254
	protected void hideSelection() {
252
	protected void hideSelection() {
253
		getHostFigure().removeLayoutListener(layoutListener);
254
		getHostFigure().removeFigureListener(figureListener);
255
		hideFeedback();
255
		hideFeedback();
256
	}
256
	}
257
257
Lines 325-330 Link Here
325
		// showing the feedback.
325
		// showing the feedback.
326
		getHost().getViewer().reveal(getHost());
326
		getHost().getViewer().reveal(getHost());
327
		updateFeedback();
327
		updateFeedback();
328
		getHostFigure().addLayoutListener(layoutListener);
329
		getHostFigure().addFigureListener(figureListener);
328
	}
330
	}
329
331
330
	/**
332
	/**

Return to bug 312418