m_headers.clear();
for (TabItemInfo item : getItems()) {
Object headerObject = ReflectionUtils.invokeMethod(item.getObject(), "getHeader()");
Object headerElement = ReflectionUtils.invokeMethod(headerObject, "getElement()");
Rectangle headerBounds = getState().getAbsoluteBounds(headerElement);
headerBounds.translate(getAbsoluteBounds().getLocation().getNegated());
m_headers.add(new Header(item, headerBounds));
}
}
////////////////////////////////////////////////////////////////////////////