Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Capabilities of TreeViewers and Properties View

Bradley,

Could you please capture this as an enhancement request against Platform 
UI?
http://eclipse.org/bugs

Thanks,
Nick




Bradley Hawkes <bhawkes@xxxxxxxxxxxxx> 
Sent by: platform-ui-dev-bounces@xxxxxxxxxxx
10/24/2005 04:48 PM
Please respond to
"Eclipse Platform UI component developers list."


To
platform-ui-dev@xxxxxxxxxxx
cc

Subject
[platform-ui-dev] Capabilities of TreeViewers and  Properties View






Hello,

I am building a set of plugins for eclipse, and I have been trying to 
provide what is a basically a TreeViewer with an editable column that 
allows you to change values of the items that appear in the tree. My 
difficulty is that I would like to be able to provide different cell 
editors on the same column based on the type of object in that row (ala 
the properties view).

The reason I can't (or at least I think I can't) use the properties view 
for this task is that it doesn't seem to support dynamically adding 
entries, and I would also like the ability to have the properties be 
nested in a tree structure.

By examining the JFace code it seems that a few modifications to the 
TreeViewer would be sufficient to allow a user of the Viewer to provide 
their own CellEditor based on the current selection. Unfortunately the 
Viewer is not designed for subclassing and much of what I would need to 
change is private.

So long story short... Does anyone know of a way to get what I am 
looking for without making my own copy of the viewers package and 
modifying it, or recreating a more customized properties view?

Thanks a lot in advance.
-Bradley Hawkes
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev




Back to the top