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

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


    }

    @Override
    public Widget createWidget()
    {
        DefaultTabLayoutPanel tabLayoutPanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutPanel.addStyleName("default-tabpanel");
        tabLayoutPanel.add(contentRepositoryPanel, "Content Repository", true);
        tabLayoutPanel.add(serverGroupDeploymentPanel, "Server Groups", true);
        return tabLayoutPanel;
    }
View Full Code Here


        ScrollPanel scroll = new ScrollPanel(main);
        LayoutPanel layout = new LayoutPanel();
        layout.add(scroll);
        layout.setWidgetTopHeight(scroll, 0, Style.Unit.PX, 100, Style.Unit.PCT);

        DefaultTabLayoutPanel root = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        root.addStyleName("default-tabpanel");
        root.add(layout, "Audit Log");
        root.selectTab(0);
        return root;
    }
View Full Code Here

                .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

    public Widget createWidget() {
        groupEditor = new RoleAssignmentEditor(presenter, GROUP);
        userEditor = new RoleAssignmentEditor(presenter, USER);
        roleEditor = new RoleEditor(presenter);

        DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");
        tabLayoutpanel.add(userEditor, "Users", true);
        tabLayoutpanel.add(groupEditor, "Groups", true);
        tabLayoutpanel.add(roleEditor, "Roles", true);
        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

    @Override
    public Widget createWidget() {
        workerPanel = new WorkerPanel(presenter, securityFramework);
        bufferPoolPanel = new BufferPoolPanel(presenter, securityFramework);

        DefaultTabLayoutPanel tabs = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabs.addStyleName("default-tabpanel");
        tabs.add(workerPanel, "Worker");
        tabs.add(bufferPoolPanel, "Buffer Pool");
        tabs.selectTab(0);

        return tabs;
    }
View Full Code Here

    @Override
    public Widget createWidget() {
        configAdminEditor = new ConfigAdminEditor(presenter);

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

        tabLayoutPanel.add(configAdminEditor.asWidget(), Console.CONSTANTS.subsys_configadmin());
        tabLayoutPanel.selectTab(0);

        return tabLayoutPanel;
    }
View Full Code Here

    }

    @Override
    public Widget createWidget() {

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

        loggersTabs.add(rootLoggerSubview.asWidget(), rootLoggerSubview.getEntityDisplayName(), true);
        loggersTabs.add(loggerSubview.asWidget(), loggerSubview.getEntityDisplayName(), true);

        // log handler
        PagedView handlerPages = new PagedView(true);
        for (Map.Entry<String, AbstractHandlerSubview<?>> entry : supportedHandlers.entrySet()) {
            handlerPages.addPage(entry.getKey(), entry.getValue().asWidget());
        }
        loggersTabs.add(handlerPages.asWidget(), Console.CONSTANTS.subsys_logging_handler(), true);

        loggersTabs.selectTab(0);
        handlerPages.showPage(0);

        List<LogLevelConsumer> logLevelConsumer = new ArrayList<>();
        logLevelConsumer.add(rootLoggerSubview);
        logLevelConsumer.add(loggerSubview);
View Full Code Here

                boundedQueuePoolView, blockingBoundedQueuePoolView, scheduledPoolView);
    }

    @Override
    public Widget createWidget() {
        DefaultTabLayoutPanel tabLayoutPanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
        tabLayoutPanel.addStyleName("default-tabpanel");

        tabLayoutPanel.add(threadFactoryView.asWidget(), "Thread Factories");

        PagedView poolPages = new PagedView(true);
        poolPages.addPage("Queless", queuelessPoolView.asWidget());
        poolPages.addPage("Blocking Queless", blockingQueuelessPoolView.asWidget());
        poolPages.addPage("Unbounded", unboundedQueuePoolView.asWidget());
        poolPages.addPage("Bounded", boundedQueuePoolView.asWidget());
        poolPages.addPage("Blocking Bounded", blockingBoundedQueuePoolView.asWidget());
        poolPages.addPage("Scheduled", scheduledPoolView.asWidget());

        tabLayoutPanel.add(poolPages.asWidget(), "Thread Pools");

        tabLayoutPanel.selectTab(0);
        poolPages.showPage(0);

        return tabLayoutPanel;
    }
View Full Code Here

     * @return
     */
    @Override
    public Widget createWidget() {

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

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

        ScrollPanel scrollPanel = new ScrollPanel(panel);
        layout.add(scrollPanel, getEntityDisplayName());

        entityEditor = makeEntityEditor();
        entityEditor.setDescription(description);
        entityEditor.setTools(createToolStrip());

View Full Code Here

    @Override
    public Widget createWidget() {

        providerEditor = new ProviderEditor(presenter);

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


        tabLayoutpanel.add(providerEditor.asWidget(), Console.CONSTANTS.subsys_ws_provider(), true);
        //tabLayoutpanel.add(endpointList.asWidget(), Console.CONSTANTS.subsys_ws_endpoints(), 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.