Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7139b28d922ad8dbd67c75911588557e0f4d468f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2010, 2015 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.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();
}

Back to the top