|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.templates.TemplateBuffer
A template buffer is a container for a string and variables.
Clients may instantiate this class.
Constructor Summary | |
TemplateBuffer(String string,
TemplateVariable[] variables)
Creates a template buffer. |
Method Summary | |
String |
getString()
Returns the string of the template buffer. |
TemplateVariable[] |
getVariables()
Returns the variable positions of the template buffer. |
void |
setContent(String string,
TemplateVariable[] variables)
Sets the content of the template buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateBuffer(String string, TemplateVariable[] variables)
string
- the stringvariables
- the variable positionsMethod Detail |
public final void setContent(String string, TemplateVariable[] variables)
string
- the stringvariables
- the variable positionspublic final String getString()
public final TemplateVariable[] getVariables()
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.