private void createRequiredComponents ( ) { distNameTextField = createTextField ( "textfield.name" , UIComponentIdProvider . DIST_ADD_NAME , DistributionSet . NAME_MAX_SIZE ) ; distVersionTextField = createTextField ( "textfield.version" , UIComponentIdProvider . DIST_ADD_VERSION , DistributionSet . VERSION_MAX_SIZE ) ; distsetTypeNameComboBox = SPUIComponentProvider . getComboBox ( i18n . getMessage ( "label.combobox.type" ) , "" , null , "" , false , "" , i18n . getMessage ( "label.combobox.type" ) ) ; distsetTypeNameComboBox . setImmediate ( true ) ; distsetTypeNameComboBox . setNullSelectionAllowed ( false ) ; distsetTypeNameComboBox . setId ( UIComponentIdProvider . DIST_ADD_DISTSETTYPE ) ; descTextArea = new TextAreaBuilder ( DistributionSet . DESCRIPTION_MAX_SIZE ) . caption ( i18n . getMessage ( "textfield.description" ) ) . style ( "text-area-style" ) . id ( UIComponentIdProvider . DIST_ADD_DESC ) . buildTextComponent ( ) ; reqMigStepCheckbox = SPUIComponentProvider . getCheckBox ( i18n . getMessage ( "checkbox.dist.required.migration.step" ) , "dist-checkbox-style" , null , false , "" ) ; reqMigStepCheckbox . addStyleName ( ValoTheme . CHECKBOX_SMALL ) ; reqMigStepCheckbox . setId ( UIComponentIdProvider . DIST_ADD_MIGRATION_CHECK ) ; }
Create required UI components .