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 - TreeView.tree setEditeable( false ) does not work
Summary: TreeView.tree setEditeable( false ) does not work
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: REGRESSION
: 43981 (view as bug list)
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-21 14:07 UTC by Talley Mulligan
Modified: 2008-12-22 20:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
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
Comment 7 Tomas Danek 2005-07-15 09:23:31 UTC
ver. in 4.1 final