Hi, I have the following "feature" in SWT designer:
In my application there are multiple CTabItems that only get activated, when they are selected from the menu. So, in the code, I define these CTabItems at the beginning, as usually, to see them in SWT designer and graphically add and edit elements on each CTabItem.
In my menuSelection()-method I check if the selected CTabItem is already visible (it can be removed from the workspace with the "X"-button, just like in Eclipse) and, if not, I have to recreate the instance of the CTabItem (the elements on it are still there) to show the tab again.
Now, in the SWT designer, each CTabItem, that has the ability to be recreated (over the menuSelection()), is shown twice (as the SWT designer obviously checks for "new CTabItem(...)"). Only one of the two occurences in the Designer tab then holds the elements of the CTabItem.
My question is now, if there is a possibility to hide these second occurences of the CTabItems, which are just for enabling the display, and only see the tabs where elements are defined on it?!
Thanks for any help
nocomm