org.netbeans.lib.editor.codetemplates.spi
Interface CodeTemplateFilter.Factory
- Enclosing interface:
- CodeTemplateFilter
@MimeLocation(subfolderName="CodeTemplateFilterFactories")
public static interface CodeTemplateFilter.Factory
Factory for producing of the code template filters.
It should be registered in the MimeLookup for a given mime-type.
createFilter
CodeTemplateFilter createFilter(JTextComponent component,
int offset)
- Create code template filter for the given context.
- Parameters:
component
- non-null component for which the filter is being created.offset
- >=0 offset for which the filter is being created.
- Returns:
- non-null code template filter instance.