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
public ISnippetCategory getCategory()
- Returns:
- the category holding this item
getContentString
public java.lang.String getContentString()
- Returns:
- the content string for this item; the text inserted may not be
identical
getVariables
public ISnippetVariable[] getVariables()
- Returns:
- an array containing all of the valid variables for this item