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

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


        table.addColumn(nameColumn, "Name");
        table.addColumn(option, "Option");


        Widget frontPage = new SimpleLayout()
                .setPlain(true)
                .setHeadline("JMS Messaging Provider")
                .setDescription("Please chose a provider from below for specific metrics.")
                .addContent("", table.asWidget())
                .build();
View Full Code Here


                presenter.setSelectedQueue(getCurrentSelection());
            }
        });

        headline = new ContentHeaderLabel();
        SimpleLayout layout = new SimpleLayout()
                .setTitle("Queues")
                .setPlain(true)
                .setHeadlineWidget(headline)
                .setDescription(Console.CONSTANTS.subsys_messaging_queue_metric_desc())
                .addContent("Queue Selection", tablePanel)
                .addContent("", refreshBtn)
                .addContent("Metrics", desc);

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

                inner
        );

        // -----

        SimpleLayout layout = new SimpleLayout()
                .setHeadlineWidget(header)
                .setPlain(true)
                .setDescription("You can only monitor active server instances. Either there is no server configured for this host, or no server instance is running.")
                .addContent("", choseHost)
                .addContent("", createServer)
                .addContent("", startServer);

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

        deploymentBrowser = new DeploymentBrowser(deploymentStore, selectionModel, featureSet);

        // hacky: but the nesting/hierarchy prevents a better solution
        toolStrip.addToolWidget(deploymentBrowser.getFilterWidget().asWidget());

        SimpleLayout layout = new SimpleLayout()
                .setTitle(Console.CONSTANTS.common_label_deployments())
                .setHeadline(Console.CONSTANTS.common_label_deployments())
                .setDescription("Currently deployed application components.")
                .addContent("title", new ContentGroupLabel(Console.MESSAGES.available("Deployments")))
                .addContent("tools", toolStrip)
                .addContent("browser", deploymentBrowser.getCellBrowser().asWidget())
                .addContent("breadcrumb", deploymentBrowser.getBreadcrumb())
                .addContent("context", deploymentBrowser.getContextPanel());
        return layout.build();
    }
View Full Code Here

                        address.add("subsystem", "webservices");
                        return address;
            }
        }, providerForm);

        SimpleLayout layout = new SimpleLayout()
                .setPlain(true)
                .setTitle("Provider")
                .setHeadline("Web Services Provider")
                .setDescription(Console.CONSTANTS.subsys_ws_desc())
                .addContent("tools", formToolStrip.asWidget())
                .addContent("help", helpPanel.asWidget())
                .addContent("form", providerForm.asWidget());

        return layout.build();

    }
View Full Code Here

        });

        this.executionMetric = new TXExecutionView();
        this.rollbackMetric = new TXRollbackView();

        SimpleLayout layout = new SimpleLayout()
                .setTitle("Transaction Manager")
                .setHeadline("Transaction Metrics")
                .setDescription(Console.CONSTANTS.subys_tx_metric_desc())
                .addContent("", refreshBtn)
                .addContent("Executions", executionMetric.asWidget())
                .addContent("Rollbacks", rollbackMetric.asWidget());


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

        table.addColumn(option, "Option");

        table.setSelectionModel(new SingleSelectionModel<String>());

        // ----
        SimpleLayout layoutBuilder = new SimpleLayout()
                .setPlain(true)
                .setHeadline("Socket Binding Groups")
                .setDescription(Console.MESSAGES.pleaseChoseanItem())
                .addContent(Console.MESSAGES.available("Groups"), table);

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

            public void onClick(ClickEvent event) {
                presenter.loadMetrics(tokens);
            }
        });

        SimpleLayout layout = new SimpleLayout()
                .setPlain(true)
                .setHeadlineWidget(title)
                .setDescription(Console.CONSTANTS.subsys_jpa_basicMetric_desc())
                .addContent("", refreshBtn)
                .addContent("Sessions", connectionPanel)
                .addContent("Transactions", txPanel)
                .addContent("Queries", queryPanel)
                .addContent("Second Level Cache", secondPanel);


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

            }
        });

        // ----

        SimpleLayout layout = new SimpleLayout()
                .setTitle("Web")
                .setHeadline("Web Metrics")
                .setDescription(Console.CONSTANTS.subys_web_metric_desc())
                .addContent("Connector Selection", connectorTable)
                .addContent("", refreshBtn)
                .addContent("Connector Metrics", sampler.asWidget());

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

                    public void onClick(ClickEvent event) {
                        presenter.loadTopology();
                    }
                }));

        SimpleLayout layout = new SimpleLayout()
                .setTopLevelTools(topLevelTools)
                .setTitle("Topology")
                .setPlain(true)
                .setHeadline("Hosts, groups and server instances")
                .setDescription(Console.MESSAGES.topology_description());

        container = new FlowPanel();
        display = new HostsDisplay();
        pager = new HostsPager();
        pager.setDisplay(display);
        pager.setPageSize(TopologyPresenter.VISIBLE_HOSTS_COLUMNS);

        layout.addContent("topology", container);

        DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");
        tabLayoutpanel.add(layout.build(), "Topology", true);
        tabLayoutpanel.add(extensions.asWidget(), "Extensions", true);
        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

TOP

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

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.