use "title" attribute instead for tabs.
Thanks pawan, I have that part. I want to display the name of the component while in edit mode. For eg while there are multiple tabs I want to display the name. Let me know if I am confusing.
Yeah, its clear now. sorry for confusion. So as i understood you actually want to show label for your component not the tabs and OOTB using title will not help you. If you want to achieve this then you have to change your hierarchy.
Yake an example:
If your current hierarchy is like below
dialog (tabpanel) --> items (widgetcollection) --> tab1 (panel)--> items (widgetcollection) --> etc.....
then you have to move your tabpanel inside another panel which has property "layout" and value as "fit", so the new hierarchy will look like this
dialog (panel) -->items (widgetcollection)-->Main Tab(tabpanel) --> items (widgetcollection) --> tab1 (panel)--> items (widgetcollection) --> etc.....
and at panel use property "title" to set the main title
The look and feel will be different than to normal tab panel obviously as you used panel but hope it will be fine.
Let me know you need more information.
I would also suggest you to refer - http://dev.day.com/docs/en/cq/current/widgets-api/output/CQ.Ext.TabPanel.html from more info.