Class JavaRewriterCopyPasteHandler

java.lang.Object
com.vaadin.copilot.javarewriter.JavaRewriterCopyPasteHandler

public class JavaRewriterCopyPasteHandler extends Object
Handles the copy & paste functionality for flow components.
  • Constructor Details

    • JavaRewriterCopyPasteHandler

      public JavaRewriterCopyPasteHandler(ProjectManager projectManager)
  • Method Details

    • getCopiedJavaComponent

      public JavaComponent getCopiedJavaComponent(ComponentTypeAndSourceLocation componentTypeAndSourceLocation)
      Collects required data for copying and pasting a component
      Parameters:
      componentTypeAndSourceLocation - Component type and source location with children info included
      Returns:
      JavaComponent that will be used for pasting.