private String positionAbbreviation(AbstractTab tab) { if (tab.getParentPanel().isHeaderPositionedTop()) { return "top"; } else { return "btm"; } }