org.cruxframework.crux.core.rebind.screen.widget
Class AbstractDataWidgetConsumer
java.lang.Object
org.cruxframework.crux.core.rebind.screen.widget.AbstractDataWidgetConsumer
- All Implemented Interfaces:
- ViewFactoryCreator.WidgetConsumer
- Direct Known Subclasses:
- PageableWidgetConsumer, ViewWidgetConsumer
public abstract class AbstractDataWidgetConsumer
- extends Object
- implements ViewFactoryCreator.WidgetConsumer
- Author:
- Thiago da Rosa de Bustamante
|
Method Summary |
protected void |
generateCopyFromCode(AbstractProxyCreator.SourcePrinter srcWriter,
com.google.gwt.core.ext.GeneratorContext context,
String dataObjectVariable,
String widgetVariable,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
String bindPath,
String converterVariable,
com.google.gwt.core.ext.typeinfo.JClassType converterType,
boolean skipCheckings)
|
protected void |
generateCopyToCode(AbstractProxyCreator.SourcePrinter srcWriter,
com.google.gwt.core.ext.GeneratorContext context,
String dataObjectVariable,
String widgetVariable,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
String bindPath,
String converterVariable,
com.google.gwt.core.ext.typeinfo.JClassType converterType,
boolean skipCheckings)
|
protected com.google.gwt.core.ext.typeinfo.JClassType |
getConverterType(AbstractProxyCreator.SourcePrinter out,
com.google.gwt.core.ext.GeneratorContext context,
String bindPath,
String bindConverter,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClassType)
|
protected String |
getEmptyValueExpression(com.google.gwt.core.ext.typeinfo.JType propertyType,
String bindPath,
String dataObjectClassName)
|
protected String |
getNullSafeExpression(String expression,
com.google.gwt.core.ext.typeinfo.JType propertyType,
String bindPath,
String dataObjectClassName,
String converterVariable)
|
protected void |
validateConverter(com.google.gwt.core.ext.typeinfo.JClassType converterType,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
com.google.gwt.core.ext.typeinfo.JClassType propertyType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDataWidgetConsumer
public AbstractDataWidgetConsumer()
getConverterType
protected com.google.gwt.core.ext.typeinfo.JClassType getConverterType(AbstractProxyCreator.SourcePrinter out,
com.google.gwt.core.ext.GeneratorContext context,
String bindPath,
String bindConverter,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClassType)
generateCopyFromCode
protected void generateCopyFromCode(AbstractProxyCreator.SourcePrinter srcWriter,
com.google.gwt.core.ext.GeneratorContext context,
String dataObjectVariable,
String widgetVariable,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
String bindPath,
String converterVariable,
com.google.gwt.core.ext.typeinfo.JClassType converterType,
boolean skipCheckings)
throws NoSuchFieldException
- Throws:
NoSuchFieldException
getNullSafeExpression
protected String getNullSafeExpression(String expression,
com.google.gwt.core.ext.typeinfo.JType propertyType,
String bindPath,
String dataObjectClassName,
String converterVariable)
getEmptyValueExpression
protected String getEmptyValueExpression(com.google.gwt.core.ext.typeinfo.JType propertyType,
String bindPath,
String dataObjectClassName)
generateCopyToCode
protected void generateCopyToCode(AbstractProxyCreator.SourcePrinter srcWriter,
com.google.gwt.core.ext.GeneratorContext context,
String dataObjectVariable,
String widgetVariable,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
String bindPath,
String converterVariable,
com.google.gwt.core.ext.typeinfo.JClassType converterType,
boolean skipCheckings)
throws NoSuchFieldException
- Throws:
NoSuchFieldException
validateConverter
protected void validateConverter(com.google.gwt.core.ext.typeinfo.JClassType converterType,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
com.google.gwt.core.ext.typeinfo.JClassType propertyType)
Copyright © 2014. All rights reserved.