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

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


public interface CodeTemplateProcessorFactory

Factory constructs code template processor for a given insert request.
The factory instances are looked up by MimeLookup so they should be registered in an xml-layer in Editors/<mime-type>/CodeTemplateProcessorFactories directory.


Method Summary
 CodeTemplateProcessor createProcessor(CodeTemplateInsertRequest request)
          Create an instance of code template processor for a given insert request.
 

Method Detail

createProcessor

CodeTemplateProcessor createProcessor(CodeTemplateInsertRequest request)
Create an instance of code template processor for a given insert request.

Parameters:
request - non-null code template insert request to be processed by the given processor instance.
Returns:
non-null instance of the processor. The constructed instance should be given the insert request so that it can operate on it.

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

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.