org.netbeans.modules.editor.codetemplates/1 1.22.1 1

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.


Method Summary
 CodeTemplateFilter createFilter(JTextComponent component, int offset)
          Create code template filter for the given context.
 

Method Detail

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.

org.netbeans.modules.editor.codetemplates/1 1.22.1 1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.