blob: 9de3aa0091f97f5a4e600650dd0b47ce35b7c82b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.help.base;
/**
* Producer capable of generating or otherwise obtaining AbstractHelpScopes
* for filtering the help system. Scopes can be defined either by adding a
* 'scope' or 'scopeProducer' element to the
* <code>"org.eclipse.help.base.scope"</code> extension point.
*
* The 'scopeProducer' allows for runtime scopes to be created.
*
*
* @since 3.6
*/
public interface IHelpScopeProducer {
/**
* Obtains a list of IScopeHandles, which in turn will contain
* AbstracHelpScope implementations. Use this method to create
* or load AbstractHelpScopes at runtime.
*
* @return an array of the contributed scope handles. May not be <code>null</code>.
*/
public IScopeHandle[] getScopeHandles();
}