width = width + 16 + 4; if (tabItem.isIndented()) { width = width + INDENT;
cloneTabDescriptor.setLabel(tabItems[i].getText()); cloneTabDescriptor.setImage(tabItems[i].getImage()); cloneTabDescriptor.setIndented(tabItems[i].isIndented()); cloneTabDescriptor.setSelected(tabItems[i].isSelected()); overrideTabDescriptors[i] = cloneTabDescriptor;
e.gc.setBackground(listBackground); e.gc.fillRectangle(0, 2, bounds.width, bounds.height - 1); } else if (hover && tab.isIndented()) { e.gc.setBackground(indentedHoverBackground); e.gc.fillRectangle(0, 2, bounds.width - 1, bounds.height - 1); e.gc.fillGradientRectangle(0, 2, bounds.width - 1, bounds.height - 1, true); } else if (tab.isIndented()) { e.gc.setBackground(indentedDefaultBackground); e.gc.fillRectangle(0, 2, bounds.width - 1, bounds.height - 1); && !tab.getImage().isDisposed()) { if (tab.isIndented()) { textIndent = textIndent + INDENT; } else { } else if (tab.isIndented()) { textIndent = textIndent + INDENT;