Fill the content of the types tab panel.<p>

@param typeInfos the type info beans
@param selectedTypes the list of types to select
320822
public void fillContent(List<CmsResourceTypeBean> typeInfos, List<String> selectedTypes) {

        if (m_types == null) {
            m_types = new HashMap<String, CmsResourceTypeBean>();
        }
        clearList();
        m_types.clear();
        for (CmsResourceTypeBean typeBean : typeInfos) {
            m_types.put(typeBean.getType(), typeBean);
            CmsListItemWidget listItemWidget;
            listItemWidget = new CmsListItemWidget(typeBean);
            listItemWidget.setUnselectable();
            CmsCheckBox checkBox = new CmsCheckBox();
            CmsListItem listItem = new CmsListItem(checkBox, listItemWidget);
            if (typeBean.isDeactivated()) {
                checkBox.disable("");
                listItem.addStyleName(
                    org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().expired());
            } else {
                SelectionHandler selectionHandler = new SelectionHandler(typeBean.getType(), checkBox);
                checkBox.addClickHandler(selectionHandler);
                listItemWidget.addClickHandler(selectionHandler);
                if ((selectedTypes != null) && selectedTypes.contains(typeBean.getType())) {
                    checkBox.setChecked(true);
                }
                listItemWidget.addButton(createSelectButton(selectionHandler));

                if (typeBean.isCreatableType() && (m_dndHandler != null)) {
                    listItem.initMoveHandle(m_dndHandler, true);
                    listItem.getMoveHandle().setTitle(Messages.get().key(Messages.GUI_TAB_TYPES_CREATE_NEW_0));
                }
            }
            listItem.setId(typeBean.getType());

            if (typeBean.getVisibility() == TypeVisibility.showOptional) {
                listItem.addStyleName(I_CmsLayoutBundle.INSTANCE.galleryDialogCss().shouldOnlyShowInFullTypeList());
            }
            addWidgetToList(listItem);
        }
        updateTypeModeToggle();
    }
844322
@Override
    public ResultSet getTypeInfo() throws SQLException
    {
        checkClosed();
        this.sysCatalog.setString(1, "TYPEINFO");
        ResultSet res = this.sysCatalog.executeQuery();
        return res;
    }
1264892
public void setResourceTypes(List<String> resourceTypes) {

        if ((resourceTypes != null) && !resourceTypes.isEmpty()) {
            addFilterQuery(CmsSearchField.FIELD_TYPE, resourceTypes, false, false);
        }
    }
99583
public void setCategoriesTabContent(List<CmsCategoryTreeEntry> categoryRoot, List<String> selected) {

        m_galleryDialog.getCategoriesTab().fillContent(categoryRoot, selected);
    }
620304
@Override
    public void setContentType(String type) {

        if (LOG.isDebugEnabled()) {
            LOG.debug(Messages.get().getBundle().key(Messages.LOG_FLEXRESPONSE_SETTING_CONTENTTYPE_1, type));
        }
        // only if this is the "Top-Level" element, do set the content type
        // otherwise an included JSP could reset the type with some unwanted defaults
        if (!m_typeSet && m_isTopElement) {
            // type must be set only once, otherwise some Servlet containers (not Tomcat) generate errors
            m_typeSet = true;
            super.setContentType(type);
            return;
        }
    }
27961
public void setValueTypes(List<ValueType<?>> valueTypes) {
        Validate.noNullElements(valueTypes);
        this.sqlExecutor.setValueTypes(valueTypes);
        this.callExecutor.setValueTypes(valueTypes);
    }
1014035
public void doNew(String[] dropdownMimeTypes, boolean makeSelected) {
        int i = getTabIndex("New...");

        m_tabbedPane
                .setComponentAt(i, new NewDatastreamPane(dropdownMimeTypes));
        i = getTabIndex("New...");
        m_tabbedPane.setToolTipTextAt(i, "Add a new datastream to this object");
        m_tabbedPane.setIconAt(i, newIcon);
        m_tabbedPane.setBackgroundAt(i, Administrator.DEFAULT_COLOR);
        if (makeSelected) {
            m_tabbedPane.setSelectedIndex(i);
        }
    }
806072
@Override
    public void fillContent(CmsImageInfoBean infoBean) {

        // properties tab
        m_propertiesTab.fillContent(infoBean);
        if (m_initialFill) {
            if (getGalleryMode() == GalleryMode.widget) {
                m_imageFormatTab.fillContent(infoBean);
            }
            if (getGalleryMode() == GalleryMode.editor) {
                m_imageFormatTab.fillContent(infoBean);
                m_imageEditorFormatsTab.fillContent(infoBean);
                m_imageAdvancedTab.fillContent(infoBean);
            }
            m_initialFill = false;
        }
        fillPreviewPanel(infoBean);
    }
748357
public void setFindingStatisticTypes(java.util.Collection<String> findingStatisticTypes) {
        if (findingStatisticTypes == null) {
            this.findingStatisticTypes = null;
            return;
        }

        this.findingStatisticTypes = new java.util.ArrayList<String>(findingStatisticTypes);
    }
771574
public void fillContent(CmsResourceInfoBean info) {

        m_info = info;
        // width of a property form
        m_propertiesPanel.clear();
        Map<String, String> properties = info.getProperties();
        String noEditReason = info.getNoEditReason();
        if (properties != null) {
            Iterator<Entry<String, String>> it = properties.entrySet().iterator();
            while (it.hasNext()) {

                Entry<String, String> entry = it.next();
                CmsPropertyForm property = new CmsPropertyForm(
                    entry.getKey(),

                    entry.getValue(),
                    noEditReason);
                property.addValueChangeHandler(this);
                m_propertiesPanel.add(property);
            }
        }
        updateImageInfo();
        setChanged(false);
    }
9995
@Override
    public void onSelectionChanged(FloatingLabelItemPicker<String> source, Collection<String> selectedItems) {
        Toast.makeText(getActivity(), source.getItemPrinter().printCollection(selectedItems), Toast.LENGTH_SHORT).show();
    }
33541
private void setTypeRequested(ResourceType type) {
    synchronized (typeToFirstWait) {
      if (!typeToFirstWait.containsKey(type)) {
        typeToFirstWait.put(type, null);
      }
    }
  }
735379
public void fillContent(List<CmsGalleryFolderBean> galleryInfos, List<String> selectedGalleries) {

        clearList();
        m_selectedGalleries = selectedGalleries;
        if (!galleryInfos.isEmpty()) {
            for (CmsGalleryFolderBean galleryInfo : galleryInfos) {
                m_galleries.put(galleryInfo.getPath(), galleryInfo);
            }

            m_itemIterator = new ListItemGenerator(galleryInfos);
            loadMoreItems();
        } else {
            showIsEmptyLabel();
        }
        onContentChange();
    }
313095
protected void setShowAllTypes(boolean showAllTypes) {

        m_typeListMode.setValue(showAllTypes ? null : I_CmsLayoutBundle.INSTANCE.galleryDialogCss().typesImportant());
        m_tabHandler.updateSize();
    }
1308440
func (s *ListWorkflowTypesOutput) SetTypeInfos(v []*WorkflowTypeInfo) *ListWorkflowTypesOutput {
	s.TypeInfos = v
	return s
}
202421
private TypeInfo getTypeInfo(Map<String, TypeInfo> typeMaps, String path, Class<?> superType) {

    TypeInfo typeInfo = typeMaps.get(path);
    if (typeInfo == null) {
      typeInfo = new TypeInfo(superType);
      typeMaps.put(path, typeInfo);
    }

    return typeInfo;

  }
1226864
private static void populateDefaults(JSDocInfo info) {
    if (info.getVisibility() == null) {
      info.setVisibility(Visibility.INHERITED);
    }
  }