@SuppressWarnings("unchecked") private void setInput(List input) { log.debug("setInput"); viewer.setInput(input); }
public void selectionChanged(IWorkbenchPart sourcepart, ISelection selection) { log.debug("selectionChanged"); if (sourcepart != NodeInfoView.this && selection instanceof IStructuredSelection) { setInput(((IStructuredSelection) selection).toList()); } }