|Re: Limited List [message #431883 is a reply to message #431848]
||Tue, 28 July 2009 16:00
| Ed Merks
Registered: July 2009
EMF's list implementations extend the highly configurable BasicEList
class so you can accomplish a lot by overriding various protected
methods in that class. What you describe will require a lot of careful
thought though. For example, if someone uses add with an index, the
added object really must end up at the index, not at the beginning. The
framework will never expect items to just disappear from the list too...
Jan Kohnert wrote:
> I want to implement a limited EList that only containes a configurable
> count of elements. Further more I want the newest entrys to become
> inserted at the beginning of the list. When the list is full, I want
> the oldest entrys to get removed from the list.
> How can this done using EMF?
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01874 seconds