public interface CodeGenerator
Modifier and Type | Interface and Description |
---|---|
static interface |
CodeGenerator.Factory
Factory creating code generators.
The factory instances are looked up by the MimeLookup so they
should be registered in an xml-layer in
Editors/<mime-type>/CodeGenerators directory. |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Gets the generator's name to be displayed in the popup that appears on
the Insert Code action invocation.
|
void |
invoke()
Invokes the generator to create the code snippet and insert it into a
document.
|
String getDisplayName()
void invoke()