KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > internal > context > IStyledContext


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.help.internal.context;
12 import org.eclipse.help.*;
13 /**
14  * <p>
15  * An enhanced version of <code>org.eclipse.help.IContext</code> interface
16  * allowing obtaining a styled text. Used by Intro plug-ing and
17  * org.eclipse.help.ui.internal.ContextHelpDialog TODO Create interface that
18  * will return description as XML and make it public
19  * </p>
20  *
21  * @since 3.0
22  */

23 public interface IStyledContext extends IContext {
24     /**
25      * Returns the text description for this context with bold markers
26      *
27      * @return String with <@#$b>and </@#$b> to mark bold range (as
28      * IContext.getText() used to in 2.x)
29      */

30     public String JavaDoc getStyledText();
31 }
32
Popular Tags