Bug 318856 Most entries contributed by textual editors are missing in the 'Edit' menu
I20100701-1105. 1. start new workspace 2. create a Java project 3. create a file 4. open 'Edit' main menu ==> most contributed items are missing (e.g. content assist, find actions).
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ContributionsAnalyzer.java
public static void trace(String msg, Throwable error) {
		Activator.trace("/trace/menus", msg, error); 
	}
	private static boolean DEBUG = true;
	private static void trace(String msg, Object menu, Object menuModel) {
		trace(msg + ": " + menu + ": " + menuModel, null); 
	}
	public static void gatherTrimContributions(MTrimBar trimModel,
			List<MTrimContribution> trimContributions, String elementId,
			ArrayList<MTrimContribution> toContribute, ExpressionContext eContext) {
		for (MTrimContribution contribution : trimContributions) {
			String parentId = contribution.getParentId();
			boolean filtered = isFiltered(trimModel, contribution);
			if (filtered || !parentId.equals(elementId) || !contribution.isToBeRendered()) {
				continue;
			}
			toContribute.add(contribution);
		}
	}
	static boolean isFiltered(MTrimBar trimModel, MTrimContribution contribution) {
		return false;
	}
	public static void gatherToolBarContributions(final MToolBar toolbarModel,
			final List<MToolBarContribution> toolbarContributionList, final String id,
			final ArrayList<MToolBarContribution> toContribute, final ExpressionContext eContext) {
		for (MToolBarContribution toolBarContribution : toolbarContributionList) {
			String parentID = toolBarContribution.getParentId();