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

Bug 127261

Summary: [Common Navigator] Add support for ITreePathContent/LabelProvider
Product: [Eclipse Project] Platform Reporter: Michael Valenta <Michael.Valenta>
Component: UIAssignee: Francis Upton IV <francisu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dirk_baeumer, panagiotis.korros
Version: 3.2   
Target Milestone: 3.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 122849    
Attachments:
Description Flags
Here's the patch
none
Updated patch none

Description Michael Valenta CLA 2006-02-10 09:52:31 EST
JFace has added TreePath based content providers and label providers. It woudl save us a lot of implementation effort if the Common Navigator framework supported these content provider types. I will attach a patch that adds this support to the common navigator.
Comment 1 Michael Valenta CLA 2006-02-10 09:57:16 EST
Created attachment 34491 [details]
Here's the patch

The patch does not change any API classes. However, it also doesn't pass the tree path, if available, through the pipeline. Stating the new pipeline API in terms of TreePath would give clients extra context that may prove helpful and modifying the pipeline to accomodate this would not be complicated.
Comment 2 Michael Valenta CLA 2006-02-24 09:33:03 EST
Created attachment 35299 [details]
Updated patch

Updated patch against the latest in HEAD.
Comment 3 Michael Valenta CLA 2006-03-17 12:28:38 EST
Michael, I think ths has been fixed.
Comment 4 Francis Upton IV CLA 2008-08-14 01:26:50 EDT
Looks like this was done quite some time ago.
Comment 5 Francis Upton IV CLA 2008-08-14 01:27:39 EDT
Michael V, can you verify this was actually done (as I'm sure it was), it's just so I can change the bug state to verified.  Thanks.
Comment 6 Francis Upton IV CLA 2008-08-31 23:26:46 EDT
Verified by looking at the source code in the 3.4 code.