|| | |||Browse by category|
How can I add objects to the data source without having their graphic representation created?
If you want to add your IlpObject instances to the IlpDataSource without having their graphic representation created, then you need to use an IlpFilter and apply it to the IlpAbstractAdapter in charge. In this way, the objects are filtered out and not included in the representation model. No graphic representation will be created at rendering time. You can then, at a later time, change the filter to make more objects visible as needed.
Note The filter must be set on the IlpAbstractAdapter before the business objects are added to the data source for the reasons listed in the JViews TGO documentation under
Such filters allow the business objects to be managed by the data source and still not be represented graphically. This is precisely what needs to be done.