Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Feature request] Remove by position in EolSequence
[Feature request] Remove by position in EolSequence [message #590398] Thu, 24 June 2010 19:02
Eclipse User
Originally posted by: antonio.garciadominguez.uca.es

Hi all,

I needed to remove elements by position in EolSequence, but I could only use
the remove(Object) method of EolCollection, which removes by value. I tried
to use the remove(int) method in the underlying ArrayList, but I just
couldn't, not even after calling getStorage() explicitly.

In the end, I added removeAt() and removeLast() to EolSequence for doing
this. I thought it might be useful for others, so I have reported the
feature request to Bugzilla, with a patch that implements the methods and
mentions them in the Epsilon book:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=317873

Comments are welcome :-).

Cheers,
Antonio
Previous Topic:[Bug] Extended properties on nested sequences are silently discarded
Next Topic:[Feature request] Remove by position in EolSequence
Goto Forum:
  


Current Time: Sat Sep 20 10:15:50 GMT 2014

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

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