void setSelectionFromEditor(IWorkbenchPart part) { if (!linkBrowsingViewSelectionToEditor()) return;  if (part == null) return; IWorkbenchPartSite site= part.getSite(); if (site == null) return; ISelectionProvider provider= site.getSelectionProvider(); if (provider != null) setSelectionFromEditor(part, provider.getSelection());
private void setSelectionFromEditor(IWorkbenchPartReference ref) { IWorkbenchPart part= ref.getPart(false); setSelectionFromEditor(part);
	void setSelectionFromEditor(IWorkbenchPart part) {		if (!linkBrowsingViewSelectionToEditor())			return;				if (part == null)			return;		IWorkbenchPartSite site= part.getSite();		if (site == null)			return;		ISelectionProvider provider= site.getSelectionProvider();		if (provider != null)			setSelectionFromEditor(part, provider.getSelection());	}