org.eclipse.wst.common.snippets.core
Interface ISnippetItem
- All Superinterfaces:
- ISnippetsEntry
public interface ISnippetItem
- extends ISnippetsEntry
A snippet item is the actual object draggable from the Snippets view.
Clients are not intended to implement this interface.
- Since:
- 1.0
getCategory
ISnippetCategory getCategory()
- Returns:
- the category holding this item
getContentString
java.lang.String getContentString()
- Returns:
- the content string for this item; the text inserted may not be
identical
getVariables
ISnippetVariable[] getVariables()
- Returns:
- an array containing all of the valid variables for this item