[442355] Corrects label on "ReplaceWith" dialog.67/32167/2
commit2cdba74ce47e8333c01058bdfa5a6fde14cd8a62
authorArthur Daussy <arthur.daussy@obeo.fr>
Fri, 22 Aug 2014 15:24:42 +0000 (22 17:24 +0200)
committerMikael Barbero <mikael.barbero@obeo.fr>
Wed, 27 Aug 2014 09:29:39 +0000 (27 05:29 -0400)
tree7ff081af3a7bf9404450375b8094134104c02785
parentc32f79b74c61a488ef1c9f74f197375a3f0b3a7a
[442355] Corrects label on "ReplaceWith" dialog.

The computation of the label needs to be aware of the visible elements.
Previously it was done using the content provider. However now it's not
possible anymore since the content provider is deferred. To compute the
list of visible items the implementation now rely on the swt tree
content that is to say on the TreeItem inside of it. The
updateTreeItemMappings forces the tree to be filled.

Change-Id: I0b0616dc6bac894dcda53d02c2ba971bb69ed34e
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/structuremergeviewer/EMFCompareStructureMergeViewer.java