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

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


        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, Console.CONSTANTS.administration_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

    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

        moduleView = new EEModulesView(presenter);
        attributesView = new EEGlobalAttributesView(presenter);
        bindingsView = new BindingsView(presenter);
        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

    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

    public Widget createWidget() {

        this.topicMetrics = new TopicMetrics(presenter);
        this.queueMetrics= new QueueMetrics(presenter);

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

        tabLayoutpanel.add(queueMetrics.asWidget(), "Queues", true);
        tabLayoutpanel.add(topicMetrics.asWidget(), "Topics", true);

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
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() {

        this.setDescription(Console.CONSTANTS.subsys_ejb3_container_desc());

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

        tabLayoutPanel.add(createEmbeddableWidget(), Console.CONSTANTS.subsys_ejb3_tab_container(), true);
        tabLayoutPanel.add(servicesView.asWidget(), Console.CONSTANTS.subsys_ejb3_tab_services(), true);
        tabLayoutPanel.add(beanPoolsView.asWidget(), Console.CONSTANTS.subsys_ejb3_tab_beanpools(), true);
        tabLayoutPanel.add(threadPoolsView.asWidget(), Console.CONSTANTS.subsys_ejb3_tab_threadpools(), true);


        return tabLayoutPanel;
    }
View Full Code Here

        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

                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

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.