Class BackofficePresenterCreator
java.lang.Object
de.knightsoftnet.gwtp.spring.annotation.processor.AbstractBackofficeCreator<BackofficeClientGenerator>
de.knightsoftnet.gwtp.spring.annotation.processor.BackofficePresenterCreator
public class BackofficePresenterCreator
extends AbstractBackofficeCreator<BackofficeClientGenerator>
Create gwtp presenter class.
-
Field Summary
FieldsFields 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) 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
-
Field Details
-
CLASS_SUFFIX
- See Also:
-
-
Constructor Details
-
BackofficePresenterCreator
public BackofficePresenterCreator()
-
-
Method Details
-
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>
-