org.cruxframework.crux.core.rebind.crossdevice
Class DeviceAdaptiveViewFactoryCreator
java.lang.Object
org.cruxframework.crux.core.rebind.AbstractProxyCreator
org.cruxframework.crux.core.rebind.screen.widget.ViewFactoryCreator
org.cruxframework.crux.core.rebind.crossdevice.DeviceAdaptiveViewFactoryCreator
public class DeviceAdaptiveViewFactoryCreator
- extends ViewFactoryCreator
- Author:
- Thiago da Rosa de Bustamante
| Methods inherited from class org.cruxframework.crux.core.rebind.screen.widget.ViewFactoryCreator |
commitPostProcessing, createPostProcessingScope, createVariableName, generateCreateDataObjectMethod, generateGetIocContainerMethod, generateResources, generateSubTypes, getContext, getControllerAccessHandler, getDeclaredMessage, getDevice, getKeyMessageParts, getLogger, getMetaElementType, getProxyQualifiedName, getProxySimpleName, getResourceAccessExpression, getResourceParts, getSourcePrinter, getSubTypeWriter, getSubTypeWriter, getSubTypeWriter, getSubTypeWriter, getView, getViewSuperClassName, getViewVariable, getWidgetCreator, getWidgetCreatorHelper, isDataBindEnabled, isKeyReference, isResourceReference, isValidWidget, newWidget, newWidget, prepare, printlnPostProcessing, processViewEvents |
| Methods inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator |
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceAdaptiveViewFactoryCreator
public DeviceAdaptiveViewFactoryCreator(com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.TreeLogger logger,
View view,
String device,
String controllerName,
String module)
- Parameters:
context - logger - view - device - controllerClass -
generateProxyFields
protected void generateProxyFields(AbstractProxyCreator.SourcePrinter printer)
- Description copied from class:
ViewFactoryCreator
- Generate the View fields
- Overrides:
generateProxyFields in class ViewFactoryCreator
generateProxyContructor
protected void generateProxyContructor(AbstractProxyCreator.SourcePrinter printer)
throws CruxGeneratorException
- Generate the View Constructor
- Overrides:
generateProxyContructor in class ViewFactoryCreator
- Throws:
CruxGeneratorException
generateProxyMethods
protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter printer)
- Description copied from class:
ViewFactoryCreator
- Generate the View methods.
- Overrides:
generateProxyMethods in class ViewFactoryCreator
getDeclaredMessages
protected Map<String,String> getDeclaredMessages()
- Description copied from class:
ViewFactoryCreator
- Gets all messages declared on this screen
- Overrides:
getDeclaredMessages in class ViewFactoryCreator
- Returns:
getLoggerVariable
protected String getLoggerVariable()
- Description copied from class:
ViewFactoryCreator
- Retrieves the logger variable name
- Overrides:
getLoggerVariable in class ViewFactoryCreator
- Returns:
Copyright © 2014. All rights reserved.