All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.help.base.IHelpScopeProducer Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * 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
 * "org.eclipse.help.base.scope" 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 null.
	 */
	public IScopeHandle[] getScopeHandles();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy