org.netbeans.modules.editor.lib2/1 1.43.1 10

org.netbeans.spi.editor.typinghooks
Interface TypedTextInterceptor.Factory

Enclosing interface:
TypedTextInterceptor

public static interface TypedTextInterceptor.Factory

The factory interface for registering TypedTextInterceptors in MimeLookup. An example registration in an XML layer shown below registers Factory implementation under text/x-something mime type in MimeLookup.

 <folder name="Editors">
  <folder name="text">
   <folder name="x-something">
    <file name="org-some-module-TTIFactory.instance" />
   </folder>
  </folder>
 </folder>
 


Method Summary
 TypedTextInterceptor createTypedTextInterceptor(MimePath mimePath)
          Creates a new interceptor for the given MimePath.
 

Method Detail

createTypedTextInterceptor

TypedTextInterceptor createTypedTextInterceptor(MimePath mimePath)
Creates a new interceptor for the given MimePath.

Parameters:
mimePath - The MimePath for which the infrastructure needs the new interceptor. Typically this is the same MimePath where this Factory was registered, but in embedded scenarios this can be a different MimePath.
Returns:
The new interceptor.

org.netbeans.modules.editor.lib2/1 1.43.1 10

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