114115116117118119120121122123124
} items.add(item); } HasWidgets panel = getPanel(); if (panel instanceof InsertPanel) { InsertPanel iPanel = (InsertPanel) panel; iPanel.insert(newItem, index); } } return item; }