Interface RelatedEntitiesSupport

All Known Implementing Classes:
RelatedEntitiesSupportImpl

public interface RelatedEntitiesSupport
  • Method Details

    • builder

      RelatedEntitiesBuilder builder(FrameOwner frameOwner)
      Creates a related screen builder.

      Note, it is necessary to set MetaClass or entity class and property or MetaProperty to builder.

      Example of creating screen with entity class and property:

      
            RelatedEntitiesBuilder builder = RelatedEntitiesSupport.builder(this);
            Screen colourBrowser = builder
                    .withEntityClass(Car.class)
                    .withProperty("colour")
                    .withSelectedEntities(carsTable.getSelected())
                    .withScreenClass(ColourBrowser.class)
                    .build();
            colourBrowser.show();
       
      Parameters:
      frameOwner - invoking screen
      Returns:
      builder instance