|
org.netbeans.modules.editor.lib2/1 1.43.1 10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CodeGenerator
Interface to be implemented by all generators inserting their code snippets into documents using the Insert Code editor action.
Nested Class Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
String getDisplayName()
void invoke()
|
org.netbeans.modules.editor.lib2/1 1.43.1 10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |