Examples of StandardMenuSeparatorDefinitionImpl


Examples of org.apache.jetspeed.om.folder.impl.StandardMenuSeparatorDefinitionImpl

    {
        // instantiate menu elements if necessary
        if (menuElements == null)
        {
            menuElements = new ArrayList(4);
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.folders");
                    }

                    /**
                     * getText - get locale specific text for separator from metadata
                     *
                     * @param locale preferred locale
                     * @return text
                     */
                    public String getText(Locale locale)
                    {
                        // use specified locale
                        return getMenuSeparatorText(locale, "menu.separator.folders");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
                     */
                    public String getOptions()
                    {
                        return "." + Folder.PATH_SEPARATOR + "*" + Folder.PATH_SEPARATOR;
                    }

                    /**
                     * isRegexp - get regexp flag for interpreting option
                     *
                     * @return regexp flag
                     */
                    public boolean isRegexp()
                    {
                        return true;
                    }
                });
            menuElements.add(new StandardMenuIncludeDefinitionImpl()
                {
                    /**
                     * getName - get menu name to nest or with options to include
                     *
                     * @return menu name
                     */
                    public String getName()
                    {
                        return SiteView.CUSTOM_PAGE_NAVIGATIONS_MENU_NAME;
                    }
                });
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
View Full Code Here

Examples of org.apache.jetspeed.om.folder.impl.StandardMenuSeparatorDefinitionImpl

    {
        // instantiate menu elements if necessary
        if (menuElements == null)
        {
            menuElements = new ArrayList(4);
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.folders");
                    }

                    /**
                     * getText - get locale specific text for separator from metadata
                     *
                     * @param locale preferred locale
                     * @return text
                     */
                    public String getText(Locale locale)
                    {
                        // use specified locale
                        return getMenuSeparatorText(locale, "menu.separator.folders");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
                     */
                    public String getOptions()
                    {
                        return "." + Folder.PATH_SEPARATOR + "*" + Folder.PATH_SEPARATOR;
                    }

                    /**
                     * isRegexp - get regexp flag for interpreting option
                     *
                     * @return regexp flag
                     */
                    public boolean isRegexp()
                    {
                        return true;
                    }
                });
            menuElements.add(new StandardMenuIncludeDefinitionImpl()
                {
                    /**
                     * getName - get menu name to nest or with options to include
                     *
                     * @return menu name
                     */
                    public String getName()
                    {
                        return SiteView.CUSTOM_PAGE_NAVIGATIONS_MENU_NAME;
                    }
                });
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
View Full Code Here

Examples of org.apache.jetspeed.om.folder.impl.StandardMenuSeparatorDefinitionImpl

    {
        // instantiate menu elements if necessary
        if (menuElements == null)
        {
            menuElements = new ArrayList(4);
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.folders");
                    }

                    /**
                     * getText - get locale specific text for separator from metadata
                     *
                     * @param locale preferred locale
                     * @return text
                     */
                    public String getText(Locale locale)
                    {
                        // use specified locale
                        return getMenuSeparatorText(locale, "menu.separator.folders");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
                     */
                    public String getOptions()
                    {
                        return "." + Folder.PATH_SEPARATOR + "*" + Folder.PATH_SEPARATOR;
                    }

                    /**
                     * isRegexp - get regexp flag for interpreting option
                     *
                     * @return regexp flag
                     */
                    public boolean isRegexp()
                    {
                        return true;
                    }
                });
            menuElements.add(new StandardMenuIncludeDefinitionImpl()
                {
                    /**
                     * getName - get menu name to nest or with options to include
                     *
                     * @return menu name
                     */
                    public String getName()
                    {
                        return SiteView.CUSTOM_PAGE_NAVIGATIONS_MENU_NAME;
                    }
                });
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
View Full Code Here

Examples of org.apache.jetspeed.om.folder.impl.StandardMenuSeparatorDefinitionImpl

    {
        // instantiate menu elements if necessary
        if (menuElements == null)
        {
            menuElements = new ArrayList(4);
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.folders");
                    }

                    /**
                     * getText - get locale specific text for separator from metadata
                     *
                     * @param locale preferred locale
                     * @return text
                     */
                    public String getText(Locale locale)
                    {
                        // use specified locale
                        return getMenuSeparatorText(locale, "menu.separator.folders");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
                     */
                    public String getOptions()
                    {
                        return "." + Folder.PATH_SEPARATOR + "*" + Folder.PATH_SEPARATOR;
                    }

                    /**
                     * isRegexp - get regexp flag for interpreting option
                     *
                     * @return regexp flag
                     */
                    public boolean isRegexp()
                    {
                        return true;
                    }
                });
            menuElements.add(new StandardMenuIncludeDefinitionImpl()
                {
                    /**
                     * getName - get menu name to nest or with options to include
                     *
                     * @return menu name
                     */
                    public String getName()
                    {
                        return SiteView.CUSTOM_PAGE_NAVIGATIONS_MENU_NAME;
                    }
                });
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
View Full Code Here

Examples of org.apache.jetspeed.om.folder.impl.StandardMenuSeparatorDefinitionImpl

    {
        // instantiate menu elements if necessary
        if (menuElements == null)
        {
            menuElements = new ArrayList(4);
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.folders");
                    }

                    /**
                     * getText - get locale specific text for separator from metadata
                     *
                     * @param locale preferred locale
                     * @return text
                     */
                    public String getText(Locale locale)
                    {
                        // use specified locale
                        return getMenuSeparatorText(locale, "menu.separator.folders");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
                     */
                    public String getOptions()
                    {
                        return "." + Folder.PATH_SEPARATOR + "*" + Folder.PATH_SEPARATOR;
                    }

                    /**
                     * isRegexp - get regexp flag for interpreting option
                     *
                     * @return regexp flag
                     */
                    public boolean isRegexp()
                    {
                        return true;
                    }
                });
            menuElements.add(new StandardMenuIncludeDefinitionImpl()
                {
                    /**
                     * getName - get menu name to nest or with options to include
                     *
                     * @return menu name
                     */
                    public String getName()
                    {
                        return AbstractSiteView.CUSTOM_PAGE_NAVIGATIONS_MENU_NAME;
                    }
                });
            menuElements.add(new StandardMenuSeparatorDefinitionImpl()
                {
                    /**
                     * getText - get default text for separator
                     *
                     * @return text
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.