Summary
Public Methods |
void
|
addDeclarations(IndentedWriter w)
Adds declarations for design time artifacts.
|
String
|
getImplName(String implName)
Returns the name of "Impl", unique each time if it is design time.
|
String
|
getPath(Element element)
Returns the path of given Element.
|
String
|
getProvidedFactory(String typeName, String methodName, String args)
Returns the source to access "@UiFactory" method.
|
String
|
getProvidedField(String typeName, String fieldName)
Returns the source to access "@UiField(provided)" instance of some object.
|
String
|
getTemplateContent(String path)
Returns the design time content of *.ui.xml template to parse,
or null if not design time, or this template is not under
design.
|
void
|
handleUIObject(Statements writer, XMLElement elem, String fieldName)
Notifies tool about UIObject creation.
|
boolean
|
isDesignTime()
Returns true if this template is under design now, so some of
UiBinder features should be disables.
|
void
|
putAttribute(XMLElement elem, String name, String value)
Remembers value of attribute, for given XMLElement .
|
void
|
putAttribute(XMLElement elem, String name, String[] values)
Remembers value of attribute, for given XMLElement .
|
void
|
rememberPathForElements(Document doc)
Fills {@value #elementPaths} with paths for given and child Element
s.
|
void
|
writeAttributes(Statements writer)
Writes remembered values of attributes.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gwt.uibinder.rebind.DesignTimeUtils
abstract
void
|
addDeclarations(IndentedWriter w)
Adds declarations for design time artifacts.
|
abstract
String
|
getImplName(String implName)
Returns the name of "Impl", unique each time if it is design time.
|
abstract
String
|
getPath(Element element)
Returns the path of given Element.
|
abstract
String
|
getProvidedFactory(String typeName, String methodName, String args)
Returns the source to access "@UiFactory" method.
|
abstract
String
|
getProvidedField(String typeName, String fieldName)
Returns the source to access "@UiField(provided)" instance of some object.
|
abstract
String
|
getTemplateContent(String path)
Returns the design time content of *.ui.xml template to parse,
or null if not design time, or this template is not under
design.
|
abstract
void
|
handleUIObject(Statements writer, XMLElement elem, String fieldName)
Notifies tool about UIObject creation.
|
abstract
boolean
|
isDesignTime()
Returns true if this template is under design now, so some of
UiBinder features should be disables.
|
abstract
void
|
putAttribute(XMLElement elem, String name, String value)
Remembers value of attribute, for given XMLElement .
|
abstract
void
|
putAttribute(XMLElement elem, String name, String[] values)
Remembers value of attribute, for given XMLElement .
|
abstract
void
|
rememberPathForElements(Document doc)
Fills {@value #elementPaths} with paths for given and child Element
s.
|
abstract
void
|
writeAttributes(Statements writer)
Writes remembered values of attributes.
|
|
Fields
Public Constructors
public
DesignTimeUtilsStub
()
Public Methods
public
void
addDeclarations
(IndentedWriter w)
Adds declarations for design time artifacts.
public
String
getImplName
(String implName)
Returns the name of "Impl", unique each time if it is design time.
public
String
getPath
(Element element)
Returns the path of given Element.
public
String
getProvidedFactory
(String typeName, String methodName, String args)
Returns the source to access "@UiFactory" method.
public
String
getProvidedField
(String typeName, String fieldName)
Returns the source to access "@UiField(provided)" instance of some object.
public
String
getTemplateContent
(String path)
Returns the design time content of *.ui.xml
template to parse,
or null
if not design time, or this template is not under
design.
public
boolean
isDesignTime
()
Returns true
if this template is under design now, so some of
UiBinder features should be disables. This includes assigning values into
"@UiField", processing "@UiHandler".
Remembers value of attribute, for given XMLElement
.
public
void
rememberPathForElements
(Document doc)
Fills {@value #elementPaths} with paths for given and child Element
s.
public
void
writeAttributes
(Statements writer)
Writes remembered values of attributes.