how to paging big model and still reserve EMF.Edit command framework? [message #606623] |
Tue, 08 May 2007 10:37 |
Anthony Lee Messages: 114 Registered: July 2009 |
Senior Member |
|
|
Hi,
My project is based on EMF . It make use of EMF.Edit command
framework.
As the model file is too large, I want to use Teneo to promote the
performance,for example , paging the records , sort records in db, etc.
By customed loadUsingDefinedQueries() method, paging function is
implemented.
But in my Interceptor's onLoad() output, I found out that each time
the RemoveCommand is being created, all records will be loaded.
After I use my customed PersistableEList to override contains
()/containsAll()/listIterator(), the extra load disappear.
But some delegate***() still load records from db...
In fact, all the content appear in UI has been in resource , but the
object's persistableEList's delegate don't know.
Has anyone solved this kind of issue?
Any idea would be appriciated.
Anthony
|
|
|
Powered by
FUDForum. Page generated in 0.03516 seconds