private static String getTabPosition(CTabFolder folder) { return folder.getTabPosition() == SWT.TOP ? "top" : "bottom"; }