if (action.canOperateOn(context.getSelection()))
if (action.canOperateOn(selection))
	public void fill(IMenuManager manager, GroupContext context) {		MenuManager javaSearchMM= new MenuManager(getName(), GROUP_ID);		ElementSearchAction[] actions= getActions();		for (int i= 0; i < actions.length; i++) {			ElementSearchAction action= actions[i];			if (action.canOperateOn(context.getSelection()))				javaSearchMM.add(action);		}				if (!javaSearchMM.isEmpty())			manager.add(javaSearchMM);	}