/** * @see com.vaadin.data.Property.Viewer#setPropertyDataSource(com.vaadin.data.Property) */ public void setPropertyDataSource(Property newDataSource) { m_principalName.setPropertyDataSource(newDataSource); }
@Override public void setPropertyDataSource(Property newDataSource) { url.setPropertyDataSource(newDataSource); } }
@Override public void setPropertyDataSource(final Property newDataSource) { this.textField.setPropertyDataSource(newDataSource); }
@Override public void setPropertyDataSource(final Property newDataSource) { this.textField.setPropertyDataSource(newDataSource); }
public void setPropertyDataSource(Property newDataSource) { wrappedField.setPropertyDataSource(newDataSource); }
@Override public void setPropertyDataSource(final Property newDataSource) { super.setPropertyDataSource(getPropertyFormatter(newDataSource)); }
@Override public void setPropertyDataSource(final Property newDataSource) { super.setPropertyDataSource(getPropertyFormatter(newDataSource)); }
@Override public void itemClick(ItemClickEvent itemClickEvent) { logger.debug("table item selected: " + (ErrorCategorisationLink)itemClickEvent.getItemId()); errorCategorisationLink = (ErrorCategorisationLink)itemClickEvent.getItemId(); errorCategorisation = errorCategorisationLink.getErrorCategorisation(); errorCategorisationItem = new BeanItem<ErrorCategorisation>(errorCategorisation); errorCategorisationLinkItem = new BeanItem<ErrorCategorisationLink>(errorCategorisationLink); moduleNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("moduleName")); flowNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowName")); componentNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowElementName")); errorCategoryCombo.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorCategory")); errorMessageTextArea.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorDescription")); actionCombo.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("action")); exceptionClassTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("exceptionClass")); errorMessageTextArea.markAsDirty(); actionCombo.markAsDirty(); errorCategoryCombo.markAsDirty(); componentNameTextField.markAsDirty(); flowNameTextField.markAsDirty(); moduleNameTextField.markAsDirty(); } });
private TextField createNameTextField() { final TextField nameField = new TextFieldBuilder(NamedEntity.NAME_MAX_SIZE) .caption(i18n.getMessage("textfield.customfiltername")).required(true, i18n) .id(UIComponentIdProvider.CUSTOM_FILTER_ADD_NAME).buildTextComponent(); nameField.setPropertyDataSource(nameLabel); nameField.addTextChangeListener(this::onFilterNameChange); return nameField; }
private TextField createNameTextField() { final TextField nameField = new TextFieldBuilder(NamedEntity.NAME_MAX_SIZE) .caption(i18n.getMessage("textfield.customfiltername")).required(true, i18n) .id(UIComponentIdProvider.CUSTOM_FILTER_ADD_NAME).buildTextComponent(); nameField.setPropertyDataSource(nameLabel); nameField.addTextChangeListener(this::onFilterNameChange); return nameField; }
moduleNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("moduleName")); flowNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowName")); componentNameTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("flowElementName")); errorMessageTextArea.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorDescription")); errorCategoryCombo.setPropertyDataSource(errorCategorisationItem.getItemProperty("errorCategory")); actionCombo.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("action")); exceptionClassTextField.setPropertyDataSource(errorCategorisationLinkItem.getItemProperty("exceptionClass"));
/** * Method to populate the mapping configuration form. */ public void populateMappingConfigurationForm() { typeComboBox.setReadOnly(false); clientComboBox.setReadOnly(false); sourceContextComboBox.setReadOnly(false); targetContextComboBox.setReadOnly(false); this.descriptionTextArea.setReadOnly(false); this.numberOfSourceParametersTextField.setReadOnly(false); BeanItem<MappingConfiguration> mappingConfigurationItem = new BeanItem<MappingConfiguration>(this.mappingConfiguration); this.clientComboBox.setValue(this.mappingConfiguration.getConfigurationServiceClient()); this.typeComboBox.setValue(mappingConfiguration.getConfigurationType()); this.sourceContextComboBox.setValue(mappingConfiguration.getSourceContext()); this.targetContextComboBox.setValue(mappingConfiguration.getTargetContext()); this.descriptionTextArea.setPropertyDataSource(mappingConfigurationItem.getItemProperty("description")); this.numberOfSourceParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numberOfParams")); this.numberOfTargetParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numTargetValues")); typeComboBox.setReadOnly(true); clientComboBox.setReadOnly(true); sourceContextComboBox.setReadOnly(true); targetContextComboBox.setReadOnly(true); this.descriptionTextArea.setReadOnly(true); this.numberOfSourceParametersTextField.setReadOnly(true); }
this.constrainParameterListSizesCheckbox.setValue(mappingConfiguration.getConstrainParameterListSizes()); this.descriptionTextArea.setPropertyDataSource(mappingConfigurationItem.getItemProperty("description")); this.numberOfSourceParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numberOfParams")); this.numberOfTargetParametersTextField.setPropertyDataSource(mappingConfigurationItem.getItemProperty("numTargetValues"));
name.setPropertyDataSource(serverItem.getItemProperty("name")); description.setPropertyDataSource(serverItem.getItemProperty("description")); url.setPropertyDataSource(serverItem.getItemProperty("url")); this.port.setPropertyDataSource(serverItem.getItemProperty("port"));
groupName.setPropertyDataSource(new ObjectProperty<String>(group.getName())); groupName.setNullSettingAllowed(false); groupName.setImmediate(true);
roleName.setPropertyDataSource(policyItem.getItemProperty("name")); roleDescription.setPropertyDataSource(policyItem.getItemProperty("description")); this.businessStream.setFlows(new HashSet<BusinessStreamFlow>());
usernameField.setPropertyDataSource(parameterItem.getItemProperty("value"));
usernameField.setPropertyDataSource(parameterItem.getItemProperty("value"));
moduleNameTextField.setPropertyDataSource(startupControlItem.getItemProperty("moduleName")); moduleNameTextField.setReadOnly(true); moduleNameTextField.setWidth("90%"); flowNameTextField.setPropertyDataSource(startupControlItem.getItemProperty("flowName")); flowNameTextField.setReadOnly(true); flowNameTextField.setWidth("90%");
roleName.setPropertyDataSource(policyItem.getItemProperty("name")); roleDescription.setPropertyDataSource(policyItem.getItemProperty("description"));