I’m designing a gui based on org.eclipse.swt.widgets.TabItem.
Is there a way to show a TabItem inside a TabFolder as “inactive”, i.e. with the usual light gray color and having all the contained elements not active as well?
It is something in other systems I can design. I thought it would be possible with swt as well, but I’m new to this environment and after Googling on this topic, I couldn’t find any solution. Is it possible at all?
It’s not possible to set
TabIteminactive (disabled), because there will be no way how to click on the selectedTabItemthen. But is pretty easy to disable content of selectedTabItem. Just getControlwhich is binded to theTabIteminstance and callsetEnable(false).