Filtering objects representation creation at datasource addition time

Article ID: 2133
Last updated: 29 May, 2018
Article ID: 2133
Last updated: 29 May, 2018
Revision: 3
Views: 635
Posted: 31 Aug, 2010
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How can I add objects to the data source without having their graphic representation created?

Answer

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.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2133
Last updated: 29 May, 2018
Revision: 3
Views: 635
Posted: 31 Aug, 2010 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category