Squish identifies identical CTabItem objects that reside in different CTabFolder objects with different object names, usually by introducing the "occurrence" property, for example:
Symbolic name | Real name |
---|---|
names.Project Explorer | {"caption": "Project Explorer", "type": "org.eclipse.swt.custom.CTabItem"} |
names.Project Explorer_2 | {"caption": "Project Explorer, "type": "org.eclipse.swt.custom.CTabItem", "occurrence": 1} |
This can occur for example when having the same view (in the above object names it is the "Project Explorer" view) visible in different (Eclipse) perspectives.
Add this property to the CTabItem's real name (will be done by Squish for newly generated/added object names automatically):
So if the real name is...
...change it to...