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 Loulloudes
Messages: 53
Registered: July 2009
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 Merks
Messages: 26054
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:EMF.Editor: parsing XML files with different extensions
Next Topic:equality of DynamicEObjects
Goto Forum:
  


Current Time: Mon Sep 22 08:29:29 GMT 2014

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

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