Bug 477442 - Refresh problem with CustomizedTreeContentProvider when input changed
Summary: Refresh problem with CustomizedTreeContentProvider when input changed
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 386387
Blocks:
  Show dependency tree
 
Reported: 2015-09-15 06:47 EDT by Jonathan Pepin CLA
Modified: 2020-05-01 11:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Pepin CLA 2015-09-15 06:47:17 EDT
When Tree use the content provider CustomizedTreeContentProvider from Facet Custom UI Plugin, if the elements of the tree is edited: added or removed, the Tree is not refreshed.
Problem is on the method getElements, previousInput and inputElement in parameter is the same reference, but during the tree modification the field rootElements was not recalculate.
So need to recalculate the rootElements at each call of getElements method.
Comment 1 Eclipse Genie CLA 2015-09-15 06:54:54 EDT
New Gerrit change created: https://git.eclipse.org/r/55958
Comment 2 Eclipse Genie CLA 2015-09-30 11:53:38 EDT
New Gerrit change created: https://git.eclipse.org/r/57095
Comment 4 Eclipse Genie CLA 2015-11-10 10:09:18 EST
New Gerrit change created: https://git.eclipse.org/r/60058