Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: f46a10ed025d478bbc01986827c09085c5f66594 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                
                                                       


                                                                       
                                                           


                                         








                                                                                 
  



                                               

                                   




                                                                             
 
           
          





                                                                                              
/*******************************************************************************
 * Copyright (c) 2009, 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;

/**
 * An entry that represents a see also node in the index. A see
 * also node must always reference another node.
 *
 * @since 3.5
 */
public interface IIndexSee extends IUAElement {

	public String getKeyword();

	/**
	 * Determines whether the text to be displayed is "see" or "see also"
	 * @return true if this is a "see also", false if this is a "see"
	 */
	public boolean isSeeAlso();

	/**
	 *
	 * @return an array of length zero if this see element references an element
	 * at the top level of the index, otherwise a list of entries which represent keywords
	 * at the second and lower levels of the index tree.
	 */
	public IIndexSubpath[] getSubpathElements();
}

Back to the top