code: protected CmsExplorerTypeSettings getSettingsForType(String resTypeName) {
  
          // get settings for resource type
          CmsExplorerTypeSettings settings = OpenCms.getWorkplaceManager().getExplorerTypeSetting(resTypeName);
          if (!settings.hasEditOptions() && CmsStringUtil.isNotEmpty(settings.getReference())) {
              // refers to another resource type, get settings of referred type
              settings = OpenCms.getWorkplaceManager().getExplorerTypeSetting(settings.getReference());
          }
          return settings;
      }
docs: Returns the explorer type settings of the resource type, considering eventual references to another type.<p>
  
  @param resTypeName the resource type name
  @return the explorer type settings of the resource type