return new P1<Collection<JMenuItem>>() {public void e(Collection<JMenuItem> col) {
				// Remove current items
				for (int i = 0; i < range.size(); i++) {
					menu.remove(range.getFrom());
				}
				range.setTo(range.getFrom());
				
				if (col != null) {
					for (JMenuItem item : col) {
						menu.insert(item, range.getTo());
						range.setTo(range.getTo() + 1);
					}
				}
				
				// Update other ranges
			}}