Creates the fake model page tree item used as a root for the tree view.<p>

@param isModelGroup in case of a model group page
@param title the title
@param subTitle the sub title

@return the root tree item
171757
public static CmsModelPageTreeItem createRootItem(boolean isModelGroup, String title, String subTitle) {

        return new CmsModelPageTreeItem(isModelGroup, title, subTitle);
    }
786697
@Override
    public Iterator findParentGroups(IGroupMember gm) throws GroupsException {
        if (isTreeRefreshRequired()) {
            refreshTree();
        }
        log.debug("Invoking findParentGroups() for group member: {}", gm.getKey());
        Set<IEntityGroup> rslt = new HashSet<>();
        final IEntityGroup root = getRootGroup();
        if (gm.isGroup()) {
            IEntityGroup group = (IEntityGroup) gm;
            log.debug(
                    "Group member {} is group {}, {}",
                    gm.getKey(),
                    group.getLocalKey(),
                    group.getName());
            getParentGroups(group.getLocalKey(), rslt);
        } else if (!gm.isGroup() && gm.getLeafType().equals(root.getLeafType())) {
            Object[] groupKeys = getPersonGroupMemberKeys(gm);
            for (Object o : groupKeys) {
                String s = (String) o;
                IEntityGroup group = groupsTree.getGroups().get(s);
                rslt.add(group);
                rslt.addAll(getParentGroups(s, new HashSet<>()));
            }
        }
        return rslt.iterator();
    }
430392
public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) {
        super.group(parentGroup);
        if (childGroup == null) {
            throw new NullPointerException("childGroup");
        }
        if (this.childGroup != null) {
            throw new IllegalStateException("childGroup set already");
        }
        this.childGroup = childGroup;
        return this;
    }
1343570
protected function _pageTitle($title, $subtitle = false)
    {
        $out = '<h1 class="titlepad-title">' . $title;
        if ($subtitle !== false) {
            $out .= ' <small>' . $subtitle . '</small>';
        }
        $out .= '</h1>';

        return $out;
    }
1238190
def page_title(step, title):
    

    with AssertContextManager(step):
        assert_equals(world.browser.title, title)
786363
public CmsGroup createGroup(String name, String description) throws Exception {

        return m_cms.createGroup(name, description, I_CmsPrincipal.FLAG_ENABLED, null);
    }
417889
private void addModelGroupSettings(
        CmsContainerElementData elementBean,
        CmsContainerPageElementPanel elementWidget,
        CmsFieldSet fieldSet) {

        Map<String, String> groupOptions = new LinkedHashMap<String, String>();
        groupOptions.put(GroupOption.disabled.name(), GroupOption.disabled.getLabel());
        groupOptions.put(GroupOption.copy.name(), GroupOption.copy.getLabel());
        groupOptions.put(GroupOption.reuse.name(), GroupOption.reuse.getLabel());
        m_modelGroupSelect = new CmsSelectBox(groupOptions);
        if (elementWidget.isModelGroup()) {
            if (Boolean.valueOf(elementBean.getSettings().get(CmsContainerElement.USE_AS_COPY_MODEL)).booleanValue()) {
                m_modelGroupSelect.selectValue(GroupOption.copy.name());
            } else {
                m_modelGroupSelect.selectValue(GroupOption.reuse.name());
            }
        }
        CmsFormRow selectRow = new CmsFormRow();
        selectRow.getLabel().setText(Messages.get().key(Messages.GUI_USE_AS_MODEL_GROUP_LABEL_0));
        selectRow.getWidgetContainer().add(m_modelGroupSelect);
        fieldSet.add(selectRow);
    }
168840
public Element getFormerModelGroupParent() {

        Element result = null;
        Element parent = getElement().getParentElement();
        while (parent != null) {
            if (parent.getPropertyBoolean(CmsContainerPageElementPanel.PROP_WAS_MODEL_GROUP)) {
                result = parent;
                break;
            }
            parent = parent.getParentElement();
        }
        return result;
    }
63644
public function updateTreeTitle(&$title)
    {
        if ($this->owner->AccessAllSubsites) {
            $title = _t(__CLASS__ . '.GlobalGroup', 'global group');
            $title = htmlspecialchars($this->owner->Title, ENT_QUOTES) . ' <i>(' . $title . ')</i>';
        } else {
            $subsites = Convert::raw2xml(implode(', ', $this->owner->Subsites()->column('Title')));
            $title = htmlspecialchars($this->owner->Title) . " <i>($subsites)</i>";
        }
    }
465701
public MenuView.ItemView createItemView(ViewGroup parent) {
        return (MenuView.ItemView) mSystemInflater.inflate(mItemLayoutRes, parent, false);
    }
1024754
@NotNull
    @ObjectiveCName("editGroupTitleWithGid:withTitle:")
    public Promise<Void> editGroupTitle(final int gid, final String title) {
        return modules.getGroupsModule().editTitle(gid, title);
    }
1260812
public Dialog title(CharSequence title){
        mTitle.setText(title);
        mTitle.setVisibility(TextUtils.isEmpty(title) ? View.GONE : View.VISIBLE);
        return this;
    }
887031
public String getObjectTitle(final Graph graph, final Node sub) {
        if (sub == null) {
            return "";
        }
        final Optional<String> title = TITLE_PROPERTIES.stream().map(Property::asNode).flatMap(p -> listObjects(
                graph, sub, p).toList().stream()).filter(Node::isLiteral).map(Node::getLiteral).map(
                        LiteralLabel::toString).findFirst();
        return title.orElse(sub.isURI() ? sub.getURI() : sub.isBlank() ? sub.getBlankNodeLabel() : sub.toString());
    }
900672
public OmdbBuilder setTitle(final String title) throws OMDBException {
        if (StringUtils.isBlank(title)) {
            throw new OMDBException(ApiExceptionType.UNKNOWN_CAUSE, "Must provide a title!");
        }
        params.add(Param.TITLE, title);
        return this;
    }
1269662
public static EdisonApplicationProperties edisonApplicationProperties(final String title,
                                                                          final String group,
                                                                          final String environment,
                                                                          final String description) {
        final EdisonApplicationProperties edisonApplicationProperties = new EdisonApplicationProperties();
        edisonApplicationProperties.setTitle(title);
        edisonApplicationProperties.setGroup(group);
        edisonApplicationProperties.setEnvironment(environment);
        edisonApplicationProperties.setDescription(description);
        edisonApplicationProperties.setManagement(new Management("/internal"));
        return edisonApplicationProperties;
    }
442952
protected final Object buildGroupModel(Object parentModel, CommandGroup commandGroup, int level)
    {
        return buildGroupComponent((JComponent) parentModel, commandGroup, level);
    }
305940
public Page title(String title)
    {
        properties.put(Title,title);
        String heading = (String)properties.get(Heading);
        if (heading==null||heading.equals(NoTitle))
            properties.put(Heading,title);
        return this;
    }