public abstract class CodeTemplateSettings extends Object
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 and Description |
|---|
CodeTemplateSettings()
Construction prohibited for API clients.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<CodeTemplateDescription> |
getCodeTemplateDescriptions()
Gets the list of code template descriptions.
|
abstract KeyStroke |
getExpandKey()
Gets the keystroke that expands the code templates abbreviations.
|
public CodeTemplateSettings()
public abstract List<CodeTemplateDescription> getCodeTemplateDescriptions()
public abstract KeyStroke getExpandKey()
Built on June 18 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.