Disabling all childs components in aCustomComponent but... (Vaadin 7)

I need to disable all childs of a custom component (eg. a form).
I did it using myCustomComponent.setEnabled(false) and it worked.
However sometime I’ve in my custom component a child wich is a TabSheet : in that case also tab sheet is disabled and I can’t change tab to see other components.
Is there any way to avoid this and change tabs ?
Tks

I suggest that you need to override the method setEnabled(…) in your custom component. I.e. write custom method, which does setEnabled(false) for content of the each tab content, but not the tab sheet itself.