code: public void contributeToViewMenu(IMenuManager menu) {
  		if (!fInViewMenu)
  			return;
  		final String filters= "filters"; //$NON-NLS-1$
  		if (menu.find(filters) != null) {
  			for (int i= 0; i < fFilterActions.length; i++) {
  				menu.prependToGroup(filters, fFilterActions[i]);
  			}
  		} else {
  			for (int i= 0; i < fFilterActions.length; i++) {
  				menu.add(fFilterActions[i]);
  			}
  		}
  	}
docs: Adds the filter actions to the given menu manager.
  
  @param menu the menu manager to which the actions are added
  @since 2.1