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

org.netbeans.lib.editor.codetemplates.spi
Interface CodeTemplateFilter


public interface CodeTemplateFilter

Filter accepting code templates being displayed in a code completion popup. It is also used for editor hints (code templates) over a text selection.


Nested Class Summary
static interface CodeTemplateFilter.Factory
          Factory for producing of the code template filters.
 
Method Summary
 boolean accept(CodeTemplate template)
          Accept or reject the given code template.
 

Method Detail

accept

boolean accept(CodeTemplate template)
Accept or reject the given code template.

Parameters:
template - non-null template to accept or reject.
Returns:
true to accept the given code template or false to reject it.

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.