@MimeLocation(subfolderName="CodeGenerators") public static interface CodeGenerator.Factory
MimeLookup
so they
should be registered in an xml-layer in
Editors/<mime-type>/CodeGenerators directory.Modifier and Type | Method and Description |
---|---|
List<? extends CodeGenerator> |
create(Lookup context)
Creates code generators valid for the particular context.
|
List<? extends CodeGenerator> create(Lookup context)
context
- Contains an instance of
JTextComponent
by default. Additonal content
could be added by the CodeGeneratorContextProvider
registered
for the mime type.