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

Examples of org.jboss.as.console.client.widgets.tabs.DefaultTabLayoutPanel


        SecurityContext securityContext = securityFramework.getSecurityContext(presenter.getProxy().getNameToken());
        batchPanel = new BatchPanel(statementContext, securityContext, presenter);
        threadPoolPanel = new ThreadPoolPanel(statementContext, securityContext, presenter);
        threadFactoriesPanel = new ThreadFactoriesPanel(statementContext, securityContext, presenter);

        DefaultTabLayoutPanel tabs = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabs.addStyleName("default-tabpanel");
        tabs.add(batchPanel, "Batch");
        tabs.add(threadPoolPanel, "Thread Pool");
        tabs.add(threadFactoriesPanel, "Thread Factories");
        tabs.selectTab(0);

        return tabs;
    }
View Full Code Here


    private final Dispatcher circuit;
    private final DefaultTabLayoutPanel tabLayout;

    public LogFileTabs(final Dispatcher circuit) {
        this.circuit = circuit;
        this.tabLayout = new DefaultTabLayoutPanel(40, Style.Unit.PX, true);
        this.tabLayout.addSelectionHandler(new SelectionHandler<Integer>() {
            @Override
            public void onSelection(SelectionEvent<Integer> event) {
                LogFilePanel logFilePanel = selectedLogFilePanel();
                if (logFilePanel != null) {
View Full Code Here

    }

    @Override
    public Widget createWidget() {

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

        baseEditor = new JcaBaseEditor(presenter);
        boostrapEditor = new JcaBootstrapEditor(presenter);
        workmanagerEditor = new WorkmanagerEditor(presenter);

        tabLayoutpanel.add(baseEditor.asWidget(), "Common Config", true);
        tabLayoutpanel.add(boostrapEditor.asWidget(), "Bootstrap Contexts", true);
        tabLayoutpanel.add(workmanagerEditor.asWidget(), "Work Manager", true);

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

    public Widget createWidget() {

        this.dataSourceEditor = new DataSourceEditor(presenter);
        this.xaDataSourceEditor = new XADataSourceEditor(presenter);

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


        tabLayoutpanel.add(dataSourceEditor.asWidget(), Console.CONSTANTS.subsys_jca_dataSources(), true);
        tabLayoutpanel.add(xaDataSourceEditor.asWidget(), Console.CONSTANTS.subsys_jca_dataSourcesXA(), true);

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

        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

    public Widget createWidget() {

        this.dsMetrics = new DataSourceMetrics(presenter, false);
        this.xaMetrics = new DataSourceMetrics(presenter, true);

        tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);

        tabLayoutpanel.addStyleName("default-tabpanel");

        tabLayoutpanel.add(dsMetrics.asWidget(), "Data Sources", true);
        tabLayoutpanel.add(xaMetrics.asWidget(), "XA Data Sources", true);
View Full Code Here

    }

    @Override
    public Widget createWidget() {

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

        this.adapterList = new AdapterList(presenter);
        this.connectionList = new ConnectionList(presenter);
        this.adminObjects = new AdminObjectList(presenter);

        panel.addPage(Console.CONSTANTS.common_label_back(), adapterList.asWidget());
        panel.addPage("Connection Definitions", connectionList.asWidget());
        panel.addPage("Admin Objects", adminObjects.asWidget()) ;

        // default page
        panel.showPage(0);

        Widget panelWidget = panel.asWidget();
        layout.add(panelWidget, "Resource Adapter");

        return layout;
    }
View Full Code Here

        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");
        tabLayoutPanel.add(pagedView.asWidget(), "Patch Management");
        return tabLayoutPanel;
    }
View Full Code Here

    public Widget asWidget() {
        VerticalPanel panel = new VerticalPanel();
        panel.setStyleName("rhs-content-panel");
        panel.add(patchInfoPanel);

        DefaultTabLayoutPanel tabLayoutPanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutPanel.addStyleName("default-tabpanel");
        tabLayoutPanel.add(new ScrollPanel(panel), "Patch Management");
        return tabLayoutPanel;
    }
View Full Code Here

    public Widget createWidget() {

        moduleView = new EEModulesView(presenter);
        attributesView = new EEGlobalAttributesView(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("Global Modules", moduleView.asWidget());

        if(!isLegacyView()) {
            bindingsView = new BindingsView(presenter);
            layout.addDetail("Default Bindings", bindingsView.asWidget());
        }

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

        if(!isLegacyView()) {
            servicesView = new EEServicesView(presenter);
            tabLayoutpanel.add(servicesView.asWidget(), "Services", true);
        }

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.widgets.tabs.DefaultTabLayoutPanel

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.