This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | TreeView.tree setEditeable( false ) does not work | ||
---|---|---|---|
Product: | platform | Reporter: | Talley Mulligan <tmulligan> |
Component: | Explorer | Assignee: | _ tboudreau <tboudreau> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jrechtacek, jtulach, tboudreau |
Priority: | P2 | Keywords: | REGRESSION |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 |
Description
Talley Mulligan
2004-05-21 14:07:08 UTC
passing to project guys. IMHO bug at TreeView line 1113. Tim you edited the line above. Maybe you want to check. If someone sets the tree to editable( false ) it should never do this. OK. I take it and try to fix it. It seems that there is a problem in tree view which sets itself editable on each focusGained event. Will move the code to initializeTree method. *** Issue 43981 has been marked as a duplicate of this issue. *** *** Issue 43981 has been marked as a duplicate of this issue. *** Init of editability and cell editor moved tpo treeInit method (effectively into constructor) so subclasses should be able to behave correctly. Checking in org/openide/explorer/view/TreeView.java; /cvs/openide/src/org/openide/explorer/view/TreeView.java,v <-- TreeView.java new revision: 1.163; previous revision: 1.162 ver. in 4.1 final |