code: public static XLinkConnectorView[] getViewsOfRegistration(XLinkConnectorRegistration registration) {
          List<XLinkConnectorView> viewsOfRegistration = new ArrayList<XLinkConnectorView>();
          Map<ModelDescription, XLinkConnectorView[]> modelsToViews = registration.getModelsToViews();
          for (XLinkConnectorView[] views : modelsToViews.values()) {
              for (int i = 0; i < views.length; i++) {
                  XLinkConnectorView view = views[i];
                  if (!viewsOfRegistration.contains(view)) {
                      viewsOfRegistration.add(view);
                  }
              }                
          }
          return viewsOfRegistration.toArray(new XLinkConnectorView[0]);
      }
docs: Returns a distinct List of all RemoteToolViews, contained in a RemoteToolRegistration.
  @see RemoteToolView
  @see RemoteToolRegistration