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

Field Summary
 
Fields inherited from interface org.eclipse.wst.common.snippets.core.ISnippetsEntry
SNIPPET_SOURCE_PLUGINS, SNIPPET_SOURCE_USER, SNIPPET_SOURCE_WORKSPACE
 
Method Summary
 ISnippetCategory getCategory()
           
 java.lang.String getContentString()
           
 ISnippetVariable[] getVariables()
           
 
Methods inherited from interface org.eclipse.wst.common.snippets.core.ISnippetsEntry
getDescription, getFilters, getId, getLabel, getSourceDescriptor, getSourceType
 

Method Detail

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