Bug 353021 - [EMF Databinding] Provide a Property for an EObject's Index in a Collection
Summary: [EMF Databinding] Provide a Property for an EObject's Index in a Collection
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: Edit (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 12:44 EDT by Sebastian Fuchs CLA
Modified: 2011-08-05 11:52 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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