code: @Override
  	public void addMenuItem(final MenuItem item) {
  		if (item instanceof MenuItemGroup) {
  			throw new IllegalArgumentException("Cannot add a nested menu group to another menu group.");
  		}
  		getContent().add(item);
  	}
docs: {@inheritDoc}