| Summary: | PropertySheetViewer bug, Widget is disposed | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Tigo <269100815> |
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | 269100815, eclipse.felipe, prakash, remy.suen |
| Version: | 3.4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Tigo
Is this in some plug-in you have written? Please attach some code to reproduce the problem. public class DataEntryPropertySource implements IPropertySource {
....
@Override
public IPropertyDescriptor[] getPropertyDescriptors() {
List<IPropertyDescriptor> list = new ArrayList<IPropertyDescriptor>();
.....
//I create some Descriptors to input or edit each element of an array.(int array for example).
//if element is set to -1 by cell editor, i will remove this element, when property sheet refresh,
//count of Descriptor will reduce, some widget will be disposed.
//if I exit editing by click the Tree Item which will just be removed, this exception popup.
//I think this is because property sheet page refresh before handling tree item click.
//PropertySheetViewer line 720, Object object = sel[0].getData(); sel[0] is TreeItem, it should check disposed before get data.
.....
}
....
}
hope this help.
o, if i exit editing by click tree item which will not be removed(presents element in array which will not be removed), no exception occur. Please provide us the correct steps with sample code to reproduce the problem. |