public final class CodeTemplate extends Object
CodeTemplateManager.getCodeTemplates())
or temporary code templates that can be created
by CodeTemplateManager.createTemporary(String).| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviation()
Get abbreviation that triggers expansion of this code template.
|
List<String> |
getContexts() |
String |
getDescription()
Get textual description of this code template.
|
String |
getParametrizedText()
Get the parametrized text of this code template.
|
void |
insert(JTextComponent component)
Insert this code template into the given text component
at the caret position.
|
String |
toString() |
public void insert(JTextComponent component)
component - non-null text component.public String getAbbreviation()
public String getDescription()
null if this template does
not have description.public String getParametrizedText()
Built on June 17 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.