Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353021

Summary: [EMF Databinding] Provide a Property for an EObject's Index in a Collection
Product: [Modeling] EMF Reporter: Sebastian Fuchs <spacehorst>
Component: EditAssignee: Ed Merks <Ed.Merks>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: m.hoffmann, tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Sebastian Fuchs CLA 2011-07-25 12:44:50 EDT
Build Identifier: 

Request for an enhancement to provide a Property describing an EObject's Index in a Collection.
Showing the Position of an Item in a List, e.g. by an ObservableMapCellLabelProvider, is not as easy when it comes to changes in order of the collection. For instance invoking the MOVE-Command results in the need to update 2 items, which is not comfortable yet due to the lack of a corresponding Property. Therefore I propose to introduce such a Property.

Reproducible: Always
Comment 1 Mark Hoffmann CLA 2011-08-05 11:30:11 EDT
Does this bug address the same problem?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=354016
Comment 2 Thomas Schindl CLA 2011-08-05 11:52:56 EDT
(In reply to comment #1)
> Does this bug address the same problem?
> 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=354016

Nope the feature we need here would be to observe an items position inside a list where the above allows you to observe an item inside the list