Class IdeIntegration

java.lang.Object
com.vaadin.copilot.ide.IdeIntegration

public final class IdeIntegration extends Object
Integration with IDEs for development mode.
  • Constructor Summary

    Constructors
    Constructor
    Description
    IdeIntegration(com.vaadin.flow.server.VaadinSession session)
    Creates a new integration with the given configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    showComponentAttachInIde(com.vaadin.flow.component.Component component)
    Opens, in the current IDE, the location (file + line number) where the given component was attached.
    void
    showComponentCreateInIde(com.vaadin.flow.component.Component component)
    Opens, in the current IDE, the location (file + line number) where the given component was created.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdeIntegration

      public IdeIntegration(com.vaadin.flow.server.VaadinSession session)
      Creates a new integration with the given configuration.
  • Method Details

    • showComponentCreateInIde

      public void showComponentCreateInIde(com.vaadin.flow.component.Component component)
      Opens, in the current IDE, the location (file + line number) where the given component was created.
      Parameters:
      component - the component to show
    • showComponentAttachInIde

      public void showComponentAttachInIde(com.vaadin.flow.component.Component component)
      Opens, in the current IDE, the location (file + line number) where the given component was attached.
      Parameters:
      component - the component to show