Summary: | [Viewers] add a default implementation of IStructuredContentProvider | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Adam Kiezun <akiezun> |
Component: | UI | Assignee: | Nick Edgar <n.a.edgar> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Kiezun
2003-01-16 05:57:07 EST
The name and spec for such a class would have to clearly indicate that it was purely for showing static arrays. I'd also consider marking it final so that people don't treat it as a default implementation for general content providers. In general, all implementors need to implement inputChanged appropriately, and should consider implementing dispose. Added ArrayContentProvider to org.eclipse.jface.viewers. It handles both arrays and collections. |