Package io.jmix.ui.relatedentities
Interface RelatedEntitiesSupport
- All Known Implementing Classes:
 RelatedEntitiesSupportImpl
public interface RelatedEntitiesSupport
- 
Method Summary
Modifier and TypeMethodDescriptionbuilder(FrameOwner frameOwner) Creates a related screen builder. 
- 
Method Details
- 
builder
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
 
 
 -