Package org.jboss.as.console.client.layout

Examples of org.jboss.as.console.client.layout.OneToOneLayout


        cacheSampler = new PlainColumnView(title2, addressCallback2)
                .setColumns(cols2)
                .setWidth(100, Style.Unit.PCT);


        OneToOneLayout layout = new OneToOneLayout()
                .setTitle(isXA? "XA Data Sources":"Data Sources")
                .setPlain(true)
                .setTopLevelTools(toolStrip.asWidget())
                .setHeadline(isXA ? "XA Data Source Metrics":"Data Source Metrics")
                .setDescription(Console.CONSTANTS.subsys_jca_dataSource_metric_desc())
                .setMaster("Datasource", tablePanel)
                .addDetail("Pool Usage", poolSampler.asWidget())
                .addDetail("Prepared Statement Cache", cacheSampler.asWidget());

        return layout.build();
    }
View Full Code Here


        VerticalPanel secondPanel = new VerticalPanel();
        secondPanel.setStyleName("fill-layout-width");
        secondPanel.add(secondLevelSampler.asWidget());


        OneToOneLayout layout = new OneToOneLayout()
                .setPlain(true)
                .setTopLevelTools(toolStrip.asWidget())
                .setHeadlineWidget(title)
                .setDescription(Console.CONSTANTS.subsys_jpa_basicMetric_desc())
                .addDetail("Connections", connectionPanel)
                .addDetail("Transactions", txPanel)
                .addDetail("Queries", queryPanel)
                .addDetail("Second Level Cache", secondPanel);


        return layout.build();
    }
View Full Code Here

        VerticalPanel messagePanel = new VerticalPanel();
        messagePanel.setStyleName("fill-layout-width");
        messagePanel.add(sampler.asWidget());
        messagePanel.add(messageSampler.asWidget());

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("Queues")
                .setPlain(true)
                .setTopLevelTools(toolStrip.asWidget())
                .setHeadline("JMS Queue Metrics")
                .setDescription(Console.CONSTANTS.subsys_messaging_queue_metric_desc())
                .setMaster("Queue Selection", tablePanel)
                .addDetail("Messages", messagePanel)
                .addDetail("Consumer", consumerSampler.asWidget());

        return layout.build();
    }
View Full Code Here

        reloadPanel.add(configUptodate);
        reloadPanel.add(configNeedsUpdate);
        reloadPanel.showWidget(0);

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("Standalone Server")
                .setPlain(true)
                .setHeadlineWidget(headline)
                .setDescription(Console.CONSTANTS.server_config_desc())
                .setMaster("Configuration", form.asWidget())
                .addDetail("Status", reloadPanel);

        // ---------------------
        DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");


        tabLayoutpanel.add(layout.build(), "Server", true);
        tabLayoutpanel.add(extensions.asWidget(), "Extensions", true);

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
View Full Code Here

        sslEditor = new SSLEditor(presenter);

        // --

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("mod_cluster")
                .setHeadline("mod_cluster Subsystem")
                .setDescription(Console.CONSTANTS.subsys_modcluster_desc())
                .setMaster("Advertising", form.asWidget())
                .addDetail("Sessions", sessionForm.asWidget())
                .addDetail("Web Contexts", contextForm.asWidget())
                .addDetail("Proxies", proxyForm.asWidget())
                .addDetail("SSL", sslEditor.asWidget())
                .addDetail("Networking", networkingForm.asWidget());


        return layout.build();
    }
View Full Code Here

        VerticalPanel messagePanel = new VerticalPanel();
        messagePanel.setStyleName("fill-layout-width");
        messagePanel.add(inflightSampler.asWidget());
        messagePanel.add(processedSampler.asWidget());

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("Topics")
                .setPlain(true)
                .setTopLevelTools(toolStrip.asWidget())
                .setHeadline("JMS Topic Metrics")
                .setDescription(Console.CONSTANTS.subsys_messaging_topic_metric_desc())
                .setMaster("Topic Selection", tablePanel)
                .addDetail("Messages", messagePanel)
                .addDetail("Subscriptions", subscriptionSampler.asWidget());

        return layout.build();
    }
View Full Code Here

        VerticalPanel messagePanel = new VerticalPanel();
        messagePanel.setStyleName("fill-layout-width");
        messagePanel.add(sampler.asWidget());
        messagePanel.add(messageSampler.asWidget());

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("Queues")
                .setPlain(true)
                .setTopLevelTools(toolStrip.asWidget())
                .setHeadline("JMS Queue Metrics")
                .setDescription(Console.CONSTANTS.subsys_messaging_queue_metric_desc())
                .setMaster("Queue Selection", tablePanel)
                .addDetail("Messages", messagePanel)
                .addDetail("Consumer", consumerSampler.asWidget());

        return layout.build();
    }
View Full Code Here

        servicesView = new EEServicesView(presenter);

        DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");

        OneToOneLayout layout = new OneToOneLayout()
                .setPlain(true)
                .setHeadline("Global EE Settings")
                .setDescription(Console.CONSTANTS.subsys_ee_desc())
                .addDetail("Deployments", attributesView.asWidget())
                .addDetail("Default Bindings", bindingsView.asWidget())
                .addDetail("Global Modules", moduleView.asWidget());

        tabLayoutpanel.add(layout.build(), "EE Subsystem", true);
        tabLayoutpanel.add(servicesView.asWidget(), "Services", true);

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
View Full Code Here

        sslEditor = new SSLEditor(presenter);

        // --

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("Load Balancing")
                .setHeadline("HTTP Load Balancer")
                .setDescription(Console.CONSTANTS.subsys_modcluster_desc())
                .addDetail("Advertising", form.asWidget())
                .addDetail("Sessions", sessionForm.asWidget())
                .addDetail("Web Contexts", contextForm.asWidget())
                .addDetail("Proxies", proxyForm.asWidget())
                .addDetail("SSL", sslEditor.asWidget())
                .addDetail("Networking", networkingForm.asWidget());


        return layout.build();
    }
View Full Code Here

        VerticalPanel messagePanel = new VerticalPanel();
        messagePanel.setStyleName("fill-layout-width");
        messagePanel.add(inflightSampler.asWidget());
        messagePanel.add(processedSampler.asWidget());

        OneToOneLayout layout = new OneToOneLayout()
                .setTitle("Topics")
                .setPlain(true)
                .setTopLevelTools(toolStrip.asWidget())
                .setHeadline("JMS Topic Metrics")
                .setDescription(Console.CONSTANTS.subsys_messaging_topic_metric_desc())
                .setMaster("Topic Selection", tablePanel)
                .addDetail("Messages", messagePanel)
                .addDetail("Subscriptions", subscriptionSampler.asWidget());

        return layout.build();
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.layout.OneToOneLayout

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.