StringDescriptor (final RadComponent component) { final RadComponent tabComponent = getRadComponent(myIndex); // 1. resource bundle final LwTabbedPane.Constraints constraints = getId2Constraints(RadTabbedPane.this).get(tabComponent.getId()); final StringDescriptor descriptor = constraints == null ? null : getValueFromConstraints(constraints); if(descriptor != null){ return descriptor; } // 2. plain value return StringDescriptor.create(getValueFromTabbedPane()); }