Uses of Record Class
com.vaadin.copilot.rewriter.AddTemplateOptions
Packages that use AddTemplateOptions
Package
Description
Reads and edits Kotlin sources, as
javarewriter does for Java.-
Uses of AddTemplateOptions in com.vaadin.copilot.javarewriter
Methods in com.vaadin.copilot.javarewriter with parameters of type AddTemplateOptionsModifier and TypeMethodDescriptionJavaRewriter.addComponentUsingTemplate(ComponentInfo referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) Adds the given code snippet to the source code either before the reference component (Where.BEFORE) or by appending to the layout (Where.APPEND).JavaRewriter.attachComponent(InsertionPoint insertionPoint, CopilotComponent component, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, com.github.javaparser.ast.expr.Expression variableNameExpr, String variableName, AddTemplateOptions options, Where where) JavaRewriter.attachComponent(InsertionPoint insertionPoint, CopilotComponent component, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, com.github.javaparser.ast.expr.Expression variableNameExpr, String variableName, AddTemplateOptions options, Where where, com.github.javaparser.ast.expr.ObjectCreationExpr initializer) JavaRewriter.createComponentStatements(InsertionPoint insertionPoint, CopilotComponent parent, CopilotComponent maybeCopilotComponent, boolean attach, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, Where where, JavaSource javaSource) JavaRewriter.createComponentStatements(InsertionPoint insertionPoint, CopilotComponent parent, List<CopilotComponent> template, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, Where where, JavaSource javaSource) -
Uses of AddTemplateOptions in com.vaadin.copilot.javarewriter.custom
Methods in com.vaadin.copilot.javarewriter.custom with parameters of type AddTemplateOptionsModifier and TypeMethodDescriptionList<com.github.javaparser.ast.body.VariableDeclarator> CrudComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) abstract List<com.github.javaparser.ast.body.VariableDeclarator> CustomComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) List<com.github.javaparser.ast.body.VariableDeclarator> DashboardComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) List<com.github.javaparser.ast.body.VariableDeclarator> DetailsComponentHandle.createComponentStatements(JavaRewriter javaRewriter, CopilotComponent component, InsertionPoint insertionPoint, CopilotComponent parent, String layoutVariableName, ComponentInfo referenceComponent, AddTemplateOptions options, JavaSource javaSource) -
Uses of AddTemplateOptions in com.vaadin.copilot.kotlinrewriter
Methods in com.vaadin.copilot.kotlinrewriter with parameters of type AddTemplateOptionsModifier and TypeMethodDescriptionvoidKotlinEditor.addComponentUsingTemplate(ComponentTypeAndSourceLocation location, Where where, List<CopilotComponent> template, AddTemplateOptions options) Adds the components a template describes, asadd-templateasks.KotlinRewriter.addComponentUsingTemplate(KotlinComponentInfo referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) Writes the components a palette drop, a paste or a design import describes. -
Uses of AddTemplateOptions in com.vaadin.copilot.rewriter
Methods in com.vaadin.copilot.rewriter with parameters of type AddTemplateOptionsModifier and TypeMethodDescriptionCopilotRewriter.addComponentUsingTemplate(C referenceComponent, Where where, List<CopilotComponent> template, AddTemplateOptions options) Adds components described by a template, as sent when dropping from the palette, pasting, or importing a design.