4344454647484950515253
int i = -1; for (ToolbarItem item : model.getItems()) { if (item.isSelectable()) { i++; if (i == index) { model.itemSelected(item); } } } } }
4546474849505152535455