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 - "Libs" node in Project View of a Rails project is missing the "New >" option
Summary: "Libs" node in Project View of a Rails project is missing the "New >" option
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-03 19:32 UTC by Craig Mcclanahan
Modified: 2008-02-13 15:40 UTC (History)
0 users

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 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.