Package org.apache.jetspeed.om.folder.impl

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


                    {
                        // 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
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.links");
                    }

                    /**
                     * 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.links");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
View Full Code Here


                    {
                        // 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
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.links");
                    }

                    /**
                     * 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.links");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
View Full Code Here

                    {
                        // 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
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.links");
                    }

                    /**
                     * 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.links");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
View Full Code Here

                    {
                        // 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
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.links");
                    }

                    /**
                     * 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.links");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
View Full Code Here

                    {
                        // 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
                     */
                    public String getText()
                    {
                        // use locale defaults
                        return getMenuSeparatorText(null, "menu.separator.links");
                    }

                    /**
                     * 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.links");
                    }
                });
            menuElements.add(new StandardMenuOptionsDefinitionImpl()
                {
                    /**
                     * getOptions - get comma separated menu options
                     *
                     * @return option paths specification
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.om.folder.impl.StandardMenuOptionsDefinitionImpl

Copyright © 2018 www.massapicom. 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.