Examples of TabLayoutPanel


Examples of com.google.gwt.user.client.ui.TabLayoutPanel

    }

    @Override
    public Widget createWidget() {
        // overall layout
        TabLayoutPanel tabLayoutPanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutPanel.addStyleName("default-tabpanel");

        tabLayoutPanel.add(createEmbeddableWidget(), getEntityDisplayName());
        tabLayoutPanel.add(servicesView.asWidget(), Console.CONSTANTS.subsys_ejb3_services());
        tabLayoutPanel.add(beanPoolsView.asWidget(), beanPoolsView.getEntityDisplayName());
        tabLayoutPanel.add(threadPoolsView.asWidget(), threadPoolsView.getEntityDisplayName());


        return tabLayoutPanel;
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.TabLayoutPanel

    public Widget createWidget() {

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

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


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

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.TabLayoutPanel

                queuelessPoolView, unboundedQueuePoolView, boundedQueuePoolView, scheduledPoolView);
    }

    @Override
    public Widget createWidget() {
        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");
       
        tabLayoutpanel.add(threadFactoryView.asWidget(), threadFactoryView.getEntityDisplayName());
        tabLayoutpanel.add(queuelessPoolView.asWidget(), queuelessPoolView.getEntityDisplayName());
        tabLayoutpanel.add(unboundedQueuePoolView.asWidget(), unboundedQueuePoolView.getEntityDisplayName());
        tabLayoutpanel.add(boundedQueuePoolView.asWidget(), boundedQueuePoolView.getEntityDisplayName());
        tabLayoutpanel.add(scheduledPoolView.asWidget(), scheduledPoolView.getEntityDisplayName());
        return tabLayoutpanel;
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.TabLayoutPanel

    private JMSEditor jmsEditor;

    @Override
    public Widget createWidget() {

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

        providerEditor = new MessagingProviderEditor(presenter);
        jmsEditor = new JMSEditor(presenter);

        tabLayoutpanel.add(providerEditor.asWidget(), Console.CONSTANTS.subsys_messaging_jms_provider());
        tabLayoutpanel.add(jmsEditor.asWidget(), Console.CONSTANTS.subsys_messaging_jms_destinations());

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.TabLayoutPanel

    public void selectTab() {
        Widget parent = getParent();
        while (!(parent instanceof TabLayoutPanel)) {
            parent = parent.getParent();
        }
        TabLayoutPanel tab = (TabLayoutPanel) parent;
        tab.selectTab(this);
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.TabLayoutPanel

        return clone;
    }
   
    @Override
    public Widget cloneDisplay(Map<String, Object> data) {
        TabLayoutPanel panel = new MyTabLayoutPanel(25, Unit.PX);
        panel.getElement().setId(this.id);
        panel.getElement().setClassName(this.cssClassName);
        for (int index = 0; index < this.titles.size() && index < this.tabs.size(); index++) {
            FlowLayoutFormItem flow = this.tabs.get(index);
            TabLabelFormItem label = this.titles.get(index);
            if (flow != null && label != null) {
                Widget newFlow = flow.cloneDisplay(data);
                if (this.cssClassName != null && !"".equals(this.cssClassName)) {
                    newFlow.setStyleName(this.cssClassName);
                }
                panel.add(newFlow, label.cloneDisplay(data));
            }
        }
        super.populateActions(panel.getElement());
        return panel;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.