Package com.smartgwt.client.widgets.layout

Examples of com.smartgwt.client.widgets.layout.SectionStackSection


    private void fetchStorageNodeConfigurationComposite(final StorageNode node) {
        if (node.getResource() == null) { // no associated resource yet
            LayoutSpacer spacer = new LayoutSpacer();
            spacer.setHeight(15);
            HTMLFlow info = new HTMLFlow(MSG.view_adminTopology_storageNodes_detail_noConfiguration(node.getAddress()));
            SectionStackSection section = new SectionStackSection(
                MSG.view_adminTopology_storageNodes_detail_configuration());
            section.setItems(spacer, info);
            section.setExpanded(true);
            section.setCanCollapse(false);

            configurationSection = section;
            initSectionCount++;
        } else {
            GWTServiceLookup.getStorageService().retrieveConfiguration(node,
View Full Code Here


                    if (null != detailsAndLoadLayout) {
                        LayoutSpacer spacer = new LayoutSpacer();
                        spacer.setWidth("2%");
                        detailsAndLoadLayout.setMembers(detailsLayout, spacer, loadLayout);
                        detailsAndLoadLayout.setHeight(220);
                        detailsAndLoadSection = new SectionStackSection(
                            MSG.view_adminTopology_storageNodes_detail_info());
                        detailsAndLoadSection.setExpanded(true);
                        detailsAndLoadSection.setItems(detailsAndLoadLayout);
                        sectionStack.addSection(detailsAndLoadSection);
                    }
View Full Code Here

    private void prepareResourceConfigEditor(final StorageNodeConfigurationComposite configuration) {
        LayoutSpacer spacer = new LayoutSpacer();
        spacer.setHeight(15);
        StorageNodeConfigurationEditor editorView = new StorageNodeConfigurationEditor(configuration);
        SectionStackSection section = new SectionStackSection(
            MSG.view_adminTopology_storageNodes_detail_configuration());
        section.setItems(spacer, editorView);
        section.setExpanded(true);
        section.setCanCollapse(false);

        configurationSection = section;
        initSectionCount++;
    }
View Full Code Here

            }
        }.run(); // fire the timer immediately
    }

    private void prepareFailoverListSection(Agent agent) {
        SectionStackSection section = new SectionStackSection(MSG.view_adminTopology_agentDetail_agentFailoverList());
        section.setExpanded(true);
        ServerTableView agentsTable = new ServerTableView(agent.getId(), false);
        section.setItems(agentsTable);

        failoverListSection = section;
        ++initSectionCount;
        return;
    }
View Full Code Here

        ++initSectionCount;
        return;
    }

    private void prepareAgentPluginsSection(SectionStack stack, int resourceId) {
        SectionStackSection section = new SectionStackSection(MSG.view_adminConfig_agentPlugins());
        section.setExpanded(false);
        loading = new Img(LOADING_ICON, 16, 16);
        loading.setValign(VerticalAlignment.CENTER);
        loading.setAlign(Alignment.CENTER);
        pluginsSection = new EnhancedVLayout();
        pluginsSection.addMember(loading);
        section.setItems(pluginsSection);
        agentPluginsSection = section;
        ++initSectionCount;
        return;
    }
View Full Code Here

        currentServerItem.setValue(serverValue);

        form.setItems(nameItem, addressItem, remoteEndpointItem, portItem, tokenItem, lastAvailabilityReportItem,
            lastAvailabilityPingItem, affinityGroupItem, currentServerItem);

        SectionStackSection section = new SectionStackSection(MSG.common_title_details());
        section.setExpanded(true);
        section.setItems(form);

        detailsSection = section;
        ++initSectionCount;
    }
View Full Code Here

        addMember(sectionStack);
    }

    private void prepareHelpSection(SectionStack stack, Plugin plugin) {
        if (plugin.getHelp() != null && plugin.getHelp().length() > 0) {
            SectionStackSection section = new SectionStackSection(MSG.common_title_help());
            section.setExpanded(true);
            Label help = new Label(plugin.getHelp());
            section.setItems(help);
            stack.addSection(section);
        }
        return;
    }
View Full Code Here

        enabledItem.setCanvas(img);

        form.setItems(displayNameItem, nameItem, versionItem, ampsItem, md5Item, kindItem, descItem, pathItem,
            mtimeItem, enabledItem);

        SectionStackSection section = new SectionStackSection(MSG.common_title_details());
        section.setExpanded(true);
        section.setItems(form);
        stack.addSection(section);

        return;
    }
View Full Code Here

            SectionStack sectionStack = new SectionStack();
            sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE);

            ListGrid platformsList = getCustomResourceTypeListGrid();
            SectionStackSection platforms = new SectionStackSection(MSG.view_adminTemplates_platforms());
            platforms.setExpanded(true);
            platforms.addItem(platformsList);

            ListGrid platformServicesList = getCustomResourceTypeListGrid();
            SectionStackSection platformServices = new SectionStackSection(MSG.view_adminTemplates_platformServices());
            platformServices.setExpanded(true);
            platformServices.addItem(platformServicesList);

            TreeGrid serversTreeGrid = new CustomResourceTypeTreeGrid();
            SectionStackSection servers = new SectionStackSection(MSG.view_adminTemplates_servers());
            servers.setExpanded(true);
            servers.addItem(serversTreeGrid);

            sectionStack.addSection(platforms);
            sectionStack.addSection(platformServices);
            sectionStack.addSection(servers);
View Full Code Here

            }
        }.run(); // fire the timer immediately
    }

    private void prepareAgentSection(SectionStack stack, Server server) {
        SectionStackSection section = new SectionStackSection(MSG.view_adminTopology_serverDetail_connectedAgents());
        section.setExpanded(true);
        AgentTableView agentsTable = new AgentTableView(serverId, false);
        section.setItems(agentsTable);

        agentSection = section;
        initSectionCount++;
        return;
    }
View Full Code Here

TOP

Related Classes of com.smartgwt.client.widgets.layout.SectionStackSection

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.