code: public static MenuItem newMenuItem(final Class<? extends Page> pageClass,
  		final String resourceModelKey, final Component component, final PageParameters parameters)
  	{
  		final BookmarkablePageLink<String> bookmarkablePageLink = new BookmarkablePageLink<>(
  			MenuPanel.LINK_ID, pageClass, parameters);
  		final IModel<String> labelModel = ResourceModelFactory.newResourceModel(resourceModelKey,
  			component);
  		final MenuItem menuItem = new MenuItem(bookmarkablePageLink, labelModel);
  		return menuItem;
  	}
docs: Creates the menu item.
  
  @param pageClass
  the page class
  @param resourceModelKey
  the resource model key
  @param component
  the component
  @param parameters
  the {@link PageParameters}
  @return the suckerfish menu panel. menu item