| Summary: | [Viewers] - NPE in TreeEditorImpl.activateCellEditor | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Susan McCourt <susan> | ||||||||||
| Component: | UI | Assignee: | Tod Creasey <Tod_Creasey> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||
| Severity: | major | ||||||||||||
| Priority: | P2 | CC: | tom.schindl | ||||||||||
| Version: | 3.2 | Keywords: | helpwanted | ||||||||||
| Target Milestone: | 3.3 M2 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Susan McCourt
Looks like fallout from the Cell editing refacotring (In reply to comment #1) > Looks like fallout from the Cell editing refacotring > The current CVS Version seems to fix the problem but I couldn't find what you modified Tod since yesterday fixing this bug, I looked at ColumnViewer and saw that you move things into setViewerColumn. (In reply to comment #2) > (In reply to comment #1) > > Looks like fallout from the Cell editing refacotring > > > The current CVS Version seems to fix the problem but I couldn't find what you > modified Tod since yesterday fixing this bug, I looked at ColumnViewer and saw > that you move things into setViewerColumn. > Further more a question why is setViewerColumn() part of the public API. Who would ever want to call this method from the outside? Created attachment 48157 [details]
Make setViewerColumn private to Class
Created attachment 48158 [details]
EditorValue not saved
The editor value is not saved when the editor is finished
Created attachment 48252 [details]
Fix NLP and editor value appling
Ok. I couldnow reproduce the problem and here's the patch to fix the NLP for backwards compatility. Nevertheless we should maybe also fix the BookmarkView not to start editing for none editable columns
Created attachment 48253 [details]
Fix noneditable Columns in BookmarkView
This is the patch to stop editing of none-editable columns earlier.
setViewerColumn is called outside so that people can write thier own custom viewer column. One of the things we need to support is owner draw and other SWT features that operate directly on the widget. To do this the refresh() method needs to be overridable. I am working on an example now to show what I mean. Thanks for the patches - I'll check them out this morning. Patches released - thanks Tom. Tom could you verify this in 20060919-0100 please? (In reply to comment #10) > Tom could you verify this in 20060919-0100 please? > Ok. Verified with latest JFace checkout. (In reply to comment #11) > (In reply to comment #10) > > Tom could you verify this in 20060919-0100 please? > > > Ok. Verified with latest JFace checkout. > Ok Verified in 20060919-0010. Thanks Tom |