@MimeLocation(subfolderName="CodeGeneratorContextProviders") public interface CodeGeneratorContextProvider
CodeGenerator.Factory.create(org.openide.util.Lookup)
method.MimeLookup
so they should be
registered in an xml-layer in
Editors/<mime-type>/CodeGeneratorContextProviders directory.Modifier and Type | Interface and Description |
---|---|
static interface |
CodeGeneratorContextProvider.Task
Represents the task passed to the
CodeGeneratorContextProvider.runTaskWithinContext(org.openide.util.Lookup,Task)
method. |
Modifier and Type | Method and Description |
---|---|
void |
runTaskWithinContext(Lookup context,
CodeGeneratorContextProvider.Task task)
Adds an additional content to the original context and runs the given task
with the new context as a parameter.
|
void runTaskWithinContext(Lookup context, CodeGeneratorContextProvider.Task task)
context
- the original contexttask
- the task to be run