blob: 4575073f0d1a10aeca20deee4376675e6d7bd7e6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.ui.views.modules;
/**
* A help context id provider allows clients to customize F1 help content from a
* debug view. When the view input is changed, the view asks the input for
* an adapter for IHelpContexIdProvider. If a provider is returned, the provider
* will be consulted to replace the default context help id for a given control. If a provider
* is not returned, then the view will use the default help context id.
*
* This is provided until Bug 216834 is fixed.
*
*/
public interface IHelpContextIdProvider {
/**
* Return the help context id that should be used in place of the given help context id.
* @param helpId the help context id to override
* @return the help context id that should be used in place of the given help context id
* or <code>null</code> if default is to be used
*/
public String getHelpContextId(String helpId);
}