Class BackofficeLocalPropertyCreator
java.lang.Object
de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator<BackofficeClientGenerator>
de.knightsoftnet.gwtp.spring.annotation.processor.BackofficeLocalPropertyCreator
public class BackofficeLocalPropertyCreator
extends AbstractBackofficeCreator<BackofficeClientGenerator>
Create localization property file.
-
Field Summary
Fields inherited from class de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator
CLASS_SUFFIX_VIEW, imports, JAKARTA_VALIDATION_PATH, JAVAX_VALIDATION_PATH, MT_VALIDATION_PATH, suffix, WIDGET_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAdditionalImports(String serverPackage, Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) protected voidwriteBody(PrintWriter out, String serverPackage, Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) voidwriteProperty(Element element, String language, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) write property file.Methods inherited from class de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator
addImport, addImport, addImports, addImports, detectBackofficeWidgetOfField, detectBackofficeWidgetsOfElement, detectBackofficeWidgetsOfElementFlat, detectPackage, fieldNameFirstUper, fieldNameIsConcatenated, fieldNameToCamelCase, firstPartOfPath, firstTwoPartsOfPath, getDeclaredTypeOfFirstTypeElement, getDeclaredTypeOfFirstTypeElement, getEntityNameOfElement, getEntityNameOfElementLower, getEntityNameOfFirstTypeElement, getEntityNameOfFirstTypeElementLower, getEnumName, getEnumNameWithoutPackage, getEnumValues, getFields, getPackageOfElement, getSuffix, hasEnum, isEnum, mapElementToSearchType, writeClassOrInterface, writeImports, writePackage
-
Constructor Details
-
BackofficeLocalPropertyCreator
public BackofficeLocalPropertyCreator()
-
-
Method Details
-
writeProperty
public void writeProperty(Element element, String language, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) write property file. -
addAdditionalImports
protected void addAdditionalImports(String serverPackage, Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) - Specified by:
addAdditionalImportsin classAbstractBackofficeCreator<BackofficeClientGenerator>
-
writeBody
protected void writeBody(PrintWriter out, String serverPackage, Element element, BackofficeClientGenerator annotationInterface, List<BackofficeWidget> widgets, ProcessingEnvironment processingEnv) - Specified by:
writeBodyin classAbstractBackofficeCreator<BackofficeClientGenerator>
-