public interface RelatedEntitiesSupport
Modifier and Type | Method and Description |
---|---|
RelatedEntitiesBuilder |
builder(FrameOwner frameOwner)
Creates a related screen builder.
|
RelatedEntitiesBuilder builder(FrameOwner frameOwner)
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();
frameOwner
- invoking screen