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

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


    }

    @Override
    public Widget createWidget() {

        SimpleLayout layout = new SimpleLayout()
                               .setTitle(Console.CONSTANTS.subsys_naming_jndiView())
                               .setHeadline(Console.CONSTANTS.subsys_naming_jndiBindings());

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

        uriLabel = new HTML(SELECTED_URI_PREFIX, true);
        layout.addContent("", uriLabel);
        uriLabel.getElement().setAttribute("style", "margin-bottom:10px");

        layout.addContent("", container);

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


    private PropertyEditor propertyEditor;

    @Override
    public Widget createWidget() {

        SimpleLayout layout = new SimpleLayout()
                        .setTitle("Host Properties")
                        .setHeadline("Host Property Declarations")
                        .setDescription(Console.CONSTANTS.host_properties_desc());

        propertyEditor = new PropertyEditor(presenter, true);
        layout.addContent("", propertyEditor.asWidget());

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

                presenter.setSelectedTopic(getCurrentSelection());

            }
        });

        SimpleLayout layout = new SimpleLayout()
                .setTitle("Topics")
                .setPlain(true)
                .setHeadlineWidget(headline)
                .setDescription(Console.CONSTANTS.subsys_messaging_topic_metric_desc())
                .addContent("Topic Selection", tablePanel)
                .addContent("", refreshBtn)
                .addContent("", desc);

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

            public void onClick(ClickEvent event) {
                presenter.setSelectedDS(getCurrentSelection(), isXA);
            }
        });

        SimpleLayout layout = new SimpleLayout()
                .setPlain(true)
                .setTitle(isXA ? "XA Data Sources" : "Data Sources")
                .setHeadline(isXA ? "XA Data Source Metrics" : "Data Source Metrics")
                .setDescription(Console.CONSTANTS.subsys_jca_dataSource_metric_desc())
                .addContent("", tools)
                .addContent("Datasource", table)
                .addContent("", refreshBtn)
                .addContent("Pool Usage", poolSampler.asWidget())
                .addContent("Prepared Statement Cache", cacheSampler.asWidget());

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

        table.addColumn(option, Console.CONSTANTS.common_label_option());

        VerticalPanel wrapper = new VerticalPanel();
        wrapper.add(table);
        wrapper.add(pager);
        SimpleLayout overviewPanel = new SimpleLayout()
                .setPlain(true)
                .setHeadline("Patch Management")
                .setDescription(Console.MESSAGES.pleaseChoseanItem())
                .addContent(Console.MESSAGES.available("Groups"), wrapper);

        VerticalPanel patchInfoWrapper = new VerticalPanel();
        patchInfoWrapper.setStyleName("rhs-content-panel");
        patchInfoWrapper.add(patchInfoPanel);

        pagedView.addPage(Console.CONSTANTS.common_label_back(), overviewPanel.build());
        pagedView.addPage("Patches", new ScrollPanel(patchInfoWrapper));
        pagedView.showPage(0);

        DefaultTabLayoutPanel tabLayoutPanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutPanel.addStyleName("default-tabpanel");
View Full Code Here

    private PropertyEditor propertyEditor;

    @Override
    public Widget createWidget() {

        SimpleLayout layout = new SimpleLayout()
                .setTitle("System Properties")
                .setHeadline("System Properties")
                .setDescription(Console.CONSTANTS.properties_global_desc());


        propertyEditor = new PropertyEditor(presenter, Console.getBootstrapContext().isStandalone())
        {
            {
              numRows = 20;
            }
        };

        layout.addContent("", propertyEditor.asWidget());

        return layout.build();
    }
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.