@Override public void onSuccessImpl(SchemaInfoDto result) { serverProfile = result; serverProfileRecordPanel.setValue(result.getSchemaForm()); serverProfileRecordPanel.setTitle(result.getSchemaName()); profileRecordsPanel.add( serverProfileRecordPanel, Utils.constants.serverProfile()); processLoad(); } });
@Override public Widget asWidget() { this.tabPanel = new TabPanel(); tabPanel.setStyleName("default-tabpanel"); tabPanel.addStyleName("master_detail-detail"); VerticalPanel layout = new VerticalPanel(); final TextItem aliasItem = new TextItem("name", uiConstants.common_label_federationName()); form.setFields(aliasItem); form.setEnabled(false); layout.add(new FormLayout().setTools(null).setForm(form).build()); tabPanel.add(layout, "Attributes"); this.samlConfigurationDetails = new SAMLConfigurationDetails(this.presenter); tabPanel.add(this.samlConfigurationDetails.asWidget(), "SAML Configuration"); tabPanel.selectTab(0); return tabPanel; }
/** * @return this editor as a Widget. */ public Widget asWidget() { VerticalPanel panel = new VerticalPanel(); panel.add(new ContentGroupLabel(Singleton.MESSAGES.label_serviceDetails())); panel.add(new ContentDescription(Singleton.MESSAGES.description_serviceDetails())); panel.add(createImplementationDetailsPanel()); TabPanel tabs = new TabPanel(); tabs.setStyleName("default-tabpanel"); //$NON-NLS-1$ tabs.getElement().setAttribute("style", "margin-top:15px;"); //$NON-NLS-1$ //$NON-NLS-2$ tabs.add(createGatewayDetailsPanel(), Singleton.MESSAGES.label_gateways()); tabs.add(createThrottlingDetailsPanel(), Singleton.MESSAGES.label_throttling()); tabs.addBeforeSelectionHandler(new BeforeSelectionHandler<Integer>() { @Override public void onBeforeSelection(BeforeSelectionEvent<Integer> event) { _toolstrip.doCancel(); } }); panel.add(tabs); tabs.selectTab(0); return panel; }
@Override public void onSuccessImpl(SchemaInfoDto result) { endpointProfile = result; endpointProfileRecordPanel.setValue(result.getSchemaForm()); endpointProfileRecordPanel.setTitle(result.getSchemaName()); profileRecordsPanel.add( endpointProfileRecordPanel, Utils.constants.endpointProfile()); processLoad(); } });
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, String tabText) { add(asWidgetOrNull(w), tabText); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, IsWidget tabWidget) { add(asWidgetOrNull(w), asWidgetOrNull(tabWidget)); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, @IsSafeHtml String tabText, boolean asHTML) { add(asWidgetOrNull(w), tabText, asHTML); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, String tabText, boolean asHTML) { add(asWidgetOrNull(w), tabText, asHTML); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, String tabText) { add(asWidgetOrNull(w), tabText); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, String tabText) { add(asWidgetOrNull(w), tabText); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, String tabText, boolean asHTML) { add(asWidgetOrNull(w), tabText, asHTML); }
protected void doCreateAttributesTab(TabPanel bottomTabs) { bottomTabs.add(wizard.asWidget(), "Attributes"); }
TabPanel panel = new TabPanel(); panel.add(new Page2(), "Page 2");
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, IsWidget tabWidget) { add(asWidgetOrNull(w), asWidgetOrNull(tabWidget)); }
@Override protected void addDetailsSectionTabs(TabPanel bottomTabs) { bottomTabs.add(getSignatureSupportTabEditor().asWidget(), "Signature Policy"); bottomTabs.add(getEncryptionSupportTabEditor().asWidget(), "Encryption Policy"); bottomTabs.add(getTrustedDomainTabEditor().asWidget(), "Trusted Domains"); bottomTabs.add(getHandlerTabEditor().asWidget(), "SAML Handlers"); }
/** * Convenience overload to allow {@link IsWidget} to be used directly. */ public void add(IsWidget w, IsWidget tabWidget) { add(asWidgetOrNull(w), asWidgetOrNull(tabWidget)); }
@Override protected void addDetailsSectionTabs(TabPanel bottomTabs) { bottomTabs.add(getKeyEditor().asWidget(), "Host Keys"); }
@Override public void add(View view) { int index = tabPanel.getWidgetCount(); InstanceView instanceView = new InstanceView(Integer.toString(index)); tabPanel.add(view.getWidget(), instanceView.makeTab(tabLabel(index))); if (index == 0) { tabPanel.selectTab(0); } }
tabPanel.add( newPanel, localizedSection );