private <T extends ExternalSystemNode> List<T> getSelectedNodes(Class<T> aClass) {
    return myStructure != null ? myStructure.getSelectedNodes(myTree, aClass) : ContainerUtil.emptyList();
  }
private <T extends ExternalSystemNode> List<T> getSelectedNodes(Class<T> aClass)