Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to create an EList??
How to create an EList?? [message #411272] Fri, 20 July 2007 10:31 Go to next message
Nicholas Loulloudes is currently offline Nicholas LoulloudesFriend
Messages: 54
Registered: July 2009
Location: Cyprus
Member

Hello,

How is it possible to instantiate a new EList holding EObjects?

Thank you.
Re: How to create an EList?? [message #411280 is a reply to message #411272] Fri, 20 July 2007 12:56 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 28986
Registered: July 2009
Senior Member
Nicholas,

There are many different implementations of EList. The implementation
in org.eclipse.emf.common.util.BasicEList being the most fundamental;
it's possible to specialize this implementation to get fail fast type
safety by specializing the newData method to create an array of a
specific type.


Nicholas Loulloudes wrote:
> Hello,
>
> How is it possible to instantiate a new EList holding EObjects?
>
> Thank you.
>
Previous Topic:Can I use JMerger to keep a block of code and clear all the remaining
Next Topic:XRefs to registered packages
Goto Forum:
  


Current Time: Sat Nov 25 11:41:51 GMT 2017

Powered by FUDForum. Page generated in 0.01919 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software