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 108795

Summary: "Libs" node in Project View of a Rails project is missing the "New >" option
Product: ruby Reporter: Craig Mcclanahan <craigmcc>
Component: CodeAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Craig Mcclanahan 2007-07-03 19:32:19 UTC
The "Libs" node in the project view is mapped to the "lib" directory of a Ruby on Rails project.  However, it is missing
the "New" submenu that lets you do things like create a new Ruby class in that directory.  Workaround - this submenu
*is* available on the "lib" directory in the Files view.
Comment 1 Torbjorn Norbye 2007-08-02 19:56:49 UTC
Must fix for 6.0. I think the relevant code is in TreeRootNode's initAction method...
Comment 2 Torbjorn Norbye 2007-08-22 04:51:45 UTC
Fixed

IDE:-------------------------------------------------
IDE: [8/21/07 8:51 PM] Committing started
Checking in TreeRootNode.java;
/cvs/ruby/railsprojects/src/org/netbeans/modules/ruby/railsprojects/ui/TreeRootNode.java,v  <--  TreeRootNode.java
new revision: 1.2; previous revision: 1.1
done
IDE: [8/21/07 8:51 PM] Committing finished
Comment 3 Martin Krauskopf 2008-02-13 15:40:39 UTC
Getting rid of 'ui' category. Will use right subcomponent and UI keyword. 'code'
when none subcomponent fits.