Bug 198971 [CommonNavigator] Provide extension schema for setting help ID
I haven't been able to find a way to set the help ID for a view using the common resource navigator. It seems that having schema support for this would be the best way to handle this.
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/ViewerTest.java
/*******************************************************************************
 * Copyright (c) 2009 Oakland Software Incorporated and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Oakland Software Incorporated - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.tests.navigator;
import org.eclipse.core.resources.IContainer;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredSelection;
public class ViewerTest extends NavigatorTestBase {
	public ViewerTest() {
		_navigatorInstanceId = TEST_VIEWER_INHERITED;
	}
	
	public void testInheritedViewer() throws Exception {
		IStructuredSelection sel;
		sel = new StructuredSelection(
				((IContainer) _p2.members()[1]).members()[0]);
		_viewer.setSelection(sel);
		verifyMenu(sel, "Resource Mapping");
	}
	
}