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.

Bug 43676

Summary: TreeView.tree setEditeable( false ) does not work
Product: platform Reporter: Talley Mulligan <tmulligan>
Component: ExplorerAssignee: _ 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
when using the New File wizard, users can change
the names of the default templates, but are not
allowed to change them back (users must locate the
automatically generated Templates directory in
their user/config directory, manually delete it
and then restart to restore default template names)
Comment 1 David Simonek 2004-05-27 11:48:34 UTC
passing to project guys.
Comment 2 Petr Hrebejk 2004-05-27 15:39:21 UTC
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.
Comment 3 Petr Hrebejk 2004-05-31 12:54:32 UTC
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.
Comment 4 Petr Hrebejk 2004-05-31 12:55:16 UTC
*** Issue 43981 has been marked as a duplicate of this issue. ***
Comment 5 Petr Hrebejk 2004-05-31 12:55:35 UTC
*** Issue 43981 has been marked as a duplicate of this issue. ***
Comment 6 Petr Hrebejk 2004-05-31 14:48:01 UTC
Init of editability and cell editor moved tpo treeInit method
(effectively into constructor) so subclasses should be able to behave

Checking in org/openide/explorer/view/;
/cvs/openide/src/org/openide/explorer/view/,v  <--
new revision: 1.163; previous revision: 1.162
Comment 7 Tomas Danek 2005-07-15 09:23:31 UTC
ver. in 4.1 final