View | Details | Raw Unified | Return to bug 209537
Collapse All | Expand All

(-)ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java (-2 / +1 lines)
Lines 184-191 Link Here
184
	}
184
	}
185
185
186
	protected void initializeSelection() {
186
	protected void initializeSelection() {
187
		if (fElements != null)
187
		clear();
188
			return;
189
		ISelection s = LocalSelectionTransfer.getInstance().getSelection();
188
		ISelection s = LocalSelectionTransfer.getInstance().getSelection();
190
		if (!(s instanceof IStructuredSelection)) {
189
		if (!(s instanceof IStructuredSelection)) {
191
			fElements= Collections.EMPTY_LIST;
190
			fElements= Collections.EMPTY_LIST;

Return to bug 209537