|
org.netbeans.modules.editor.settings/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.editor.settings.CodeTemplateSettings
public abstract class CodeTemplateSettings
The list of code templates available for particular mime paths. Instances of
this class can be retrieved from MimeLookup
as shown on the example
below.
Lookup l = MimeLookup.getLookup(MimePath.parse(mimePath)); CodeTemplateSettings cds = l.lookup(CodeTemplateSettings.class); ListcodeTemplates = cds.getCodeTemplateDescriptions();
IMPORTANT: There is a much more powerful API for working with editor
code templates in
Editor Code Templates
module. If you are retrieving this class from MimeLookup
you should
should probably use the Editor Code Templates API instead.
This class must NOT be extended by any API clients.
Constructor Summary | |
---|---|
CodeTemplateSettings()
Construction prohibited for API clients. |
Method Summary | |
---|---|
abstract List<CodeTemplateDescription> |
getCodeTemplateDescriptions()
Gets the list of code template descriptions. |
abstract KeyStroke |
getExpandKey()
Gets the keystroke that expands the code templates abbreviations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodeTemplateSettings()
Method Detail |
---|
public abstract List<CodeTemplateDescription> getCodeTemplateDescriptions()
public abstract KeyStroke getExpandKey()
|
org.netbeans.modules.editor.settings/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |