int toAdd= elementLimit-children.length;
int toAdd= elementLimit-currentCount;
			public void add(Object parentElement, Object[] childElements) {				if (limitElements() && parentElement.equals(getInput())) {					int elementLimit= getElementLimit();					Widget parentWidget= findItem(parentElement);					if (parentWidget == null)						return;					Item[] children= getChildren(parentWidget);					if (children.length >= elementLimit)						return;					if (children.length + childElements.length <= elementLimit) {						super.add(parentElement, childElements);						return;					}					int toAdd= elementLimit-children.length;					Object[] limited= new Object[toAdd];					System.arraycopy(childElements, 0, limited, 0, limited.length);					super.add(parentElement, limited);					return;				} else {					super.add(parentElement, childElements);				}			}