Package org.jboss.ballroom.client.layout

Examples of org.jboss.ballroom.client.layout.LHSNavTree$StateChange


    private DisclosurePanel panel;

    public ServersConfigSection() {

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_serverConfigs()).asWidget();
        hostTree = new LHSNavTree("hosts");
        panel.setContent(hostTree);
    }
View Full Code Here


    public ServerInstancesSection() {

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_serverInstances()).asWidget();

        instanceTree = new LHSNavTree("hosts");

        LHSNavTreeItem overview = new LHSNavTreeItem(Console.CONSTANTS.common_label_serverStatus(), new ClickHandler()
        {
            @Override
            public void onClick(ClickEvent event) {
View Full Code Here

        stack.setStyleName("fill-layout-width");

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


        subsysTree = new LHSNavTree("profiles");

        DisclosurePanel subsysPanel  = new DisclosureStackPanel("Profile").asWidget();
        subsysPanel.setContent(subsysTree);
        stack.add(subsysPanel);

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

        Tree deploymentTree = new LHSNavTree("profiles");
        deploymentTree.addItem(new LHSNavTreeItem("Manage Deployments", NameTokens.DeploymentListPresenter));
        DisclosurePanel deplPanel  = new DisclosureStackPanel("Deployments").asWidget();
        deplPanel.setContent(deploymentTree);

        stack.add(deplPanel);

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

        Tree commonTree = new LHSNavTree("profiles");
        DisclosurePanel commonPanel  = new DisclosureStackPanel("General Configuration").asWidget();
        commonPanel.setContent(commonTree);

        LHSNavTreeItem[] commonItems = new LHSNavTreeItem[] {
                /*new LHSNavTreeItem("Server", NameTokens.StandaloneServerPresenter),*/
                new LHSNavTreeItem("Interfaces", NameTokens.InterfacePresenter),
                new LHSNavTreeItem("Socket Binding Groups", NameTokens.SocketBindingPresenter),
                new LHSNavTreeItem("System Properties", NameTokens.PropertiesPresenter)
        };

        for(LHSNavTreeItem item : commonItems)
        {
            commonTree.addItem(item);
        }

        stack.add(commonPanel);

        layout.add(stack);
View Full Code Here

    private DisclosurePanel panel;

    public ProfileSection()  {

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_subsystems()).asWidget();
        subsysTree = new LHSNavTree("profiles");
        panel.setContent(subsysTree);

        VerticalPanel layout = new VerticalPanel();
        layout.setStyleName("fill-layout-width");
View Full Code Here

        VerticalPanel stack = new VerticalPanel();
        stack.setStyleName("fill-layout");

        DisclosurePanel panel = new DisclosureStackPanel("Widgets").asWidget();

        LHSNavTree tree = new LHSNavTree("widgets");
        for(Sample sample : samples)
        {
            TreeItem item = new LHSNavTreeItem(sample.getName(), "widgets;show="+sample.getId());
            tree.addItem(item);
        }

        panel.setContent(tree);

        stack.add(panel);
View Full Code Here

    public SubsystemSection()  {

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_subsystems(), true).asWidget();

        subsysTree = new LHSNavTree("profiles");

        VerticalPanel layout = new VerticalPanel();
        layout.setStyleName("fill-layout-width");

View Full Code Here

        // -------- groups


        DisclosurePanel groupsPanel = new DisclosureStackPanel(
                Console.CONSTANTS.common_label_serverGroups()).asWidget();
        LHSNavTree groupsTree = new LHSNavTree("profiles");
        groupsPanel.setContent(groupsTree);

        LHSNavTreeItem groupItem = new LHSNavTreeItem(Console.CONSTANTS.common_label_serverGroupConfigurations(), NameTokens.ServerGroupPresenter);
        groupsTree.addItem(groupItem);
        stack.add(groupsPanel);


        // --------
View Full Code Here

        stack.add(serverPicker.asWidget());

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


        Tree statusTree = new LHSNavTree("domain-runtime");

        LHSNavTreeItem serverInstances=
                new LHSNavTreeItem(Console.CONSTANTS.common_label_serverInstances(), NameTokens.InstancesPresenter);


        LHSNavTreeItem jvm = new LHSNavTreeItem("JVM Status", NameTokens.HostVMMetricPresenter);

        statusTree.addItem(serverInstances);
        statusTree.addItem(jvm);

        DisclosurePanel statusPanel  = new DisclosureStackPanel("Domain Status").asWidget();
        statusPanel.setContent(statusTree);
        stack.add(statusPanel);

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

        metricTree = new LHSNavTree("domain-runtime");

        LHSNavTreeItem datasources = new LHSNavTreeItem("Datasources", NameTokens.DataSourceMetricPresenter);
        LHSNavTreeItem jmsQueues = new LHSNavTreeItem("JMS Destinations", NameTokens.JmsMetricPresenter);
        LHSNavTreeItem web = new LHSNavTreeItem("Web", NameTokens.WebMetricPresenter);
        LHSNavTreeItem tx = new LHSNavTreeItem("Transactions", NameTokens.TXMetrics);
        LHSNavTreeItem jpa = new LHSNavTreeItem("JPA", NameTokens.JPAMetricPresenter);

        metricPredicates.add(new Predicate("datasources", datasources));
        metricPredicates.add(new Predicate("messaging", jmsQueues));
        metricPredicates.add(new Predicate("web", web));
        metricPredicates.add(new Predicate("transactions", tx));
        metricPredicates.add(new Predicate("jpa", jpa));

        DisclosurePanel metricPanel  = new DisclosureStackPanel("Subsystem Metrics").asWidget();
        metricPanel.setContent(metricTree);
        stack.add(metricPanel);

        // ---

        runtimeTree = new LHSNavTree("domain-runtime");


        LHSNavTreeItem osgi = new LHSNavTreeItem("OSGi", NameTokens.OSGiRuntimePresenter);

        runtimePredicates.add(new Predicate("osgi", osgi));

        DisclosurePanel runtimeOpPanel = new DisclosureStackPanel("Runtime Operations").asWidget();
        runtimeOpPanel.setContent(runtimeTree);
        stack.add(runtimeOpPanel);


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

        Tree deploymentTree = new LHSNavTree("domain-runtime");
        DisclosurePanel deploymentPanel  = new DisclosureStackPanel("Deployments").asWidget();
        deploymentPanel.setContent(deploymentTree);

        deploymentTree.addItem(new LHSNavTreeItem("Manage Deployments", NameTokens.DeploymentsPresenter));
        deploymentTree.addItem(new LHSNavTreeItem("Webservices", NameTokens.WebServiceRuntimePresenter));

        stack.add(deploymentPanel);

        layout.add(stack);
View Full Code Here

        stack.setStyleName("fill-layout-width");

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


        navigation = new LHSNavTree("standalone-runtime");
        navigation.getElement().setAttribute("aria-label", "Runtime Tasks");

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

        TreeItem serverLeaf = new LHSTreeSection("Server", true);
View Full Code Here

        stack.setStyleName("fill-layout-width");

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


        navigation = new LHSNavTree("profiles");
        navigation.getElement().setAttribute("aria-label", "Profile Tasks");
        //navigation.getElement().setAttribute("aria-controls", "rhs-content-area");

        serverLeaf = new LHSTreeSection(Console.CONSTANTS.common_label_profile(), true);
        navigation.addItem(serverLeaf);
View Full Code Here

TOP

Related Classes of org.jboss.ballroom.client.layout.LHSNavTree$StateChange

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.