Package org.eurekastreams.web.client.ui.common.tabs

Examples of org.eurekastreams.web.client.ui.common.tabs.SimpleTab


        tabContainer = new TabContainerPanel();

        if (Session.getInstance().getCurrentPersonRoles().contains(Role.SYSTEM_ADMIN))
        {
            tabContainer.addTab(new SimpleTab("System", systemPanel));

            SimpleTab pluginsTab = new SimpleTab("Plugins", new StreamPluginsPanel());
            pluginsTab.setParamsToClear(PagedListPanel.URL_PARAM_LIST_ID, PagedListPanel.URL_PARAM_FILTER,
                    PagedListPanel.URL_PARAM_SORT, Pager.URL_PARAM_START_INDEX, Pager.URL_PARAM_END_INDEX);

            tabContainer.addTab(pluginsTab);
            tabContainer.addTab(new PendingGroupsAndFlaggedActivitiesPanelComposite("Pending"));
        }
View Full Code Here


        StreamPluginsSettingsTabContent streamSettingsTabContent = new StreamPluginsSettingsTabContent(
                GroupStreamPluginSubscriptionModel.getInstance());
        streamSettingsTabContent.addStyleName(StaticResourceBundle.INSTANCE.coreCss().profileSettingsTabContent());

        portalPage.addTab(new SimpleTab("Basic Info", profileTabContent));
        portalPage.addTab(new SimpleTab("Stream Plugins", streamSettingsTabContent));
        portalPage.init();

        portalPageContainer.add(portalPage);
        portalPageContainer.addStyleName(StaticResourceBundle.INSTANCE.coreCss().profileSettingsTabContainer());
View Full Code Here

        // setup the params to set when the tab is activated
        Map<String, String> gadgetTabParams = new HashMap<String, String>();
        gadgetTabParams.put(PagedListPanel.URL_PARAM_LIST_ID, "gadgets");
        gadgetTabParams.put(Pager.URL_PARAM_START_INDEX, "0");

        SimpleTab gadgetSimpleTab = new SimpleTab("Apps", gadgetTab);
        gadgetSimpleTab.setParamsToSet(gadgetTabParams);
        gadgetSimpleTab.setParamsToClear(Pager.URL_PARAM_END_INDEX);
        portalPage.addTab(gadgetSimpleTab);

        // setup the params to set when the tab is activated
        Map<String, String> themeTabParams = new HashMap<String, String>();
        themeTabParams.put(PagedListPanel.URL_PARAM_LIST_ID, "themes");
        themeTabParams.put(Pager.URL_PARAM_START_INDEX, "0");

        SimpleTab themeSimpleTab = new SimpleTab("Themes", themeTab);
        themeSimpleTab.setParamsToSet(themeTabParams);
        themeSimpleTab.setParamsToClear(Pager.URL_PARAM_START_INDEX, Pager.URL_PARAM_END_INDEX);
        portalPage.addTab(themeSimpleTab);

        // setup the params to set when the tab is activated
        Map<String, String> tabTemplateTabParams = new HashMap<String, String>();
        tabTemplateTabParams.put(PagedListPanel.URL_PARAM_LIST_ID, "tabs");
        tabTemplateTabParams.put(Pager.URL_PARAM_START_INDEX, "0");

        SimpleTab tabSimpleTab = new SimpleTab("Tabs", tabTemplateTab);
        tabSimpleTab.setParamsToSet(tabTemplateTabParams);
        tabSimpleTab.setParamsToClear(Pager.URL_PARAM_START_INDEX, Pager.URL_PARAM_END_INDEX);
        portalPage.addTab(tabSimpleTab);

        galleryPortalContainer.add(portalPage);
        portalPage.init();
View Full Code Here

        PersonalStreamSettingsTabContent personalStreamSettingsTabContent = new PersonalStreamSettingsTabContent();
        personalStreamSettingsTabContent.addStyleName(StaticResourceBundle.INSTANCE.coreCss()
                .profileSettingsTabContent());

        portalPage.addTab(new SimpleTab("Basic Info", profileTabContent));
        portalPage.addTab(new SimpleTab("Stream Plugins", personalStreamSettingsTabContent));
        portalPage.init();

        portalPageContainer.add(portalPage);
        portalPageContainer.addStyleName(StaticResourceBundle.INSTANCE.coreCss().profileSettingsTabContainer());
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.ui.common.tabs.SimpleTab

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.