Package org.jboss.as.console.client.widgets

Examples of org.jboss.as.console.client.widgets.StackSectionHeader


            commonLayout.add(item);
            commonLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        stack.add(commonLayout, new StackSectionHeader("Domain Model"), 28);

    }
View Full Code Here


        subsysRoot = new TreeItem("Subsystems:");
        subsysTree.addItem(subsysRoot);

        subsysLayout.add(subsysTree);
        stack.add(subsysLayout, new StackSectionHeader("Profile"), 28);

        // ----------------------------------------------------

        LayoutPanel dplLayout = new LayoutPanel();
        dplLayout.setStyleName("stack-section");

        LHSNavItem[] dplItems = new LHSNavItem[] {
                new LHSNavItem("Web Applications", "server-deployments;type=web"),
                new LHSNavItem("Enterprise Applications", "server-deployments;type=ee"),
                new LHSNavItem("Resource Adapters", "server-deployments;type=jca"),
                new LHSNavItem("Other", "server-deployments;type=other")
        };

        int i =0;
        for(LHSNavItem item : dplItems)
        {
            dplLayout.add(item);
            dplLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        //stack.add(dplLayout, new StackSectionHeader("Deployments"), 28);

                      
        // ----------------------------------------------------

        LayoutPanel commonLayout = new LayoutPanel();
         commonLayout.setStyleName("stack-section");

        LHSNavItem[] commonItems = new LHSNavItem[] {
                new LHSNavItem("Paths", "server/server-paths"),
                new LHSNavItem("Interfaces", "server/server-interfaces"),
                new LHSNavItem("Socket Binding Groups", "server/server-sockets"),
                new LHSNavItem("System Properties", "server/server-properties")
        };

        i =0;
        for(LHSNavItem item : commonItems)
        {
            commonLayout.add(item);
            commonLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        stack.add(commonLayout, new StackSectionHeader("General Config"), 28);

    }
View Full Code Here

                Icons.INSTANCE.add_small()
        );

        addNavItems(dplLayout, current, createNew);

        stack.add(dplLayout, new StackSectionHeader("Deployments"), 28);

    }
View Full Code Here

            commonLayout.add(item);
            commonLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        stack.add(commonLayout, new StackSectionHeader("Domain Model"), 28);

    }
View Full Code Here

    public LHSProfileNavigation() {

        stack = new DefaultStackLayoutPanel();

        profileSection = new ProfileSection();
        stack.add(profileSection.asWidget(), new StackSectionHeader("Subsystems"), 28);

        CommonConfigSection commonSection = new CommonConfigSection();
        stack.add(commonSection.asWidget(), new StackSectionHeader("General Config"), 28);

    }
View Full Code Here

        final Widget selectorWidget = selector.asWidget();

        stack = new DefaultStackLayoutPanel();

        serversSection = new ServersConfigSection();
        stack.add(serversSection.asWidget(), new StackSectionHeader("Server Configurations"), HEADER_SIZE);

        instanceSection = new ServerInstancesSection();
        stack.add(instanceSection.asWidget(), new StackSectionHeader("Server Instances"), HEADER_SIZE);

        hostConfigSection = new HostConfigSection();
        stack.add(hostConfigSection.asWidget(), new StackSectionHeader("Host Settings"), HEADER_SIZE);

        // -----------------------------

        layout.addNorth(selectorWidget, SELECTOR_HEIGHT);
        layout.add(stack);
View Full Code Here

    public LHSServerGroupNavigation() {

        stack = new DefaultStackLayoutPanel();

        serverGroupSection = new ServerGroupSection();
        stack.add(serverGroupSection.asWidget(), new StackSectionHeader("Server Groups"), 28);

        DeploymentSection deploymentSection = new DeploymentSection();
        stack.add(deploymentSection.asWidget(), new StackSectionHeader("Deployments"), 28);

    }
View Full Code Here

        stack = new StackLayoutPanel(Style.Unit.PX);
        stack.addStyleName("section-stack");

        profileSection = new ProfileSection();
        stack.add(profileSection.asWidget(), new StackSectionHeader("Subsystems"), 28);

        CommonConfigSection commonSection = new CommonConfigSection();
        stack.add(commonSection.asWidget(), new StackSectionHeader("General Config"), 28);

    }
View Full Code Here

        stack = new StackLayoutPanel(Style.Unit.PX);
        stack.addStyleName("section-stack");

        serverGroupSection = new ServerGroupSection();
        stack.add(serverGroupSection.asWidget(), new StackSectionHeader("Server Groups"), 28);

        DeploymentSection deploymentSection = new DeploymentSection();
        stack.add(deploymentSection.asWidget(), new StackSectionHeader("Deployments"), 28);

    }
View Full Code Here

        subsysRoot = new TreeItem("Subsystems:");
        subsysTree.addItem(subsysRoot);

        subsysLayout.add(subsysTree);
        stack.add(subsysLayout, new StackSectionHeader("Profile"), 28);

        // ----------------------------------------------------

        LayoutPanel dplLayout = new LayoutPanel();
        dplLayout.setStyleName("stack-section");

        LHSNavItem[] dplItems = new LHSNavItem[] {
                new LHSNavItem("Web Applications", "server-deployments;type=web"),
                new LHSNavItem("Enterprise Applications", "server-deployments;type=ee"),
                new LHSNavItem("Resource Adapters", "server-deployments;type=jca"),
                new LHSNavItem("Other", "server-deployments;type=other")
        };

        int i =0;
        for(LHSNavItem item : dplItems)
        {
            dplLayout.add(item);
            dplLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        //stack.add(dplLayout, new StackSectionHeader("Deployments"), 28);

                      
        // ----------------------------------------------------

        LayoutPanel commonLayout = new LayoutPanel();
         commonLayout.setStyleName("stack-section");

        LHSNavItem[] commonItems = new LHSNavItem[] {
                new LHSNavItem("Paths", "server/server-paths"),
                new LHSNavItem("Interfaces", "server/server-interfaces"),
                new LHSNavItem("Socket Binding Groups", "server/server-sockets"),
                new LHSNavItem("System Properties", "server/server-properties")
        };

        i =0;
        for(LHSNavItem item : commonItems)
        {
            commonLayout.add(item);
            commonLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        stack.add(commonLayout, new StackSectionHeader("General Config"), 28);

    }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.widgets.StackSectionHeader

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.