ElementSearchAction action= actions[i]; if (!(sel instanceof IStructuredSelection) || action.canOperateOn((IStructuredSelection)sel))
JavaElementSearchAction action= actions[i]; action.update(sel); if (!(sel instanceof IStructuredSelection) || action.isEnabled())
	public void fill(IMenuManager manager, GroupContext context) {		MenuManager javaSearchMM= new MenuManager(getName(), GROUP_ID);		ISelection sel= context.getSelection();		ElementSearchAction[] actions= getActions();		for (int i= 0; i < actions.length; i++) {			ElementSearchAction action= actions[i];			if (!(sel instanceof IStructuredSelection) || action.canOperateOn((IStructuredSelection)sel))				javaSearchMM.add(action);		}				if (!javaSearchMM.isEmpty())			manager.appendToGroup(GROUP_ID, javaSearchMM);	}