if (fSelectionProvider != null) {
IWorkbenchWindow window = SSEUIPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow();
IWorkbenchPage page = window.getActivePage();
if (page != null) {
IViewPart findView = page.findView(getViewID());
if (findView instanceof ISelectionListener && fPart != null) {
((ISelectionListener) findView).selectionChanged(fPart, fSelectionProvider.getSelection());
}
else {
findView.getViewSite().getSelectionProvider().setSelection(fSelectionProvider.getSelection());