if (!isFlatMode())
if (!isFlatLayout())
	private void addSortActions(IMenuManager mgr) {		if (!isFlatMode())			return;		MenuManager sortMenu= new MenuManager(SearchMessages.getString("JavaSearchResultPage.sortBylabel")); //$NON-NLS-1$		sortMenu.add(fSortByNameAction);		sortMenu.add(fSortByPathAction);		sortMenu.add(fSortByParentName);				fSortByNameAction.setChecked(fCurrentSortAction == fSortByNameAction);		fSortByPathAction.setChecked(fCurrentSortAction == fSortByPathAction);		fSortByParentName.setChecked(fCurrentSortAction == fSortByParentName);				mgr.appendToGroup(IContextMenuConstants.GROUP_VIEWER_SETUP, sortMenu);	}