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: | "Goto Rails Action/View" always enabled | ||
---|---|---|---|
Product: | ruby | Reporter: | Jesse Glick <jglick> |
Component: | Code | Assignee: | Torbjorn Norbye <tor> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jrojcek |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2007-04-19 21:50:50 UTC
Reassigning this issue to newly created 'ruby' component. I've tried modifying the action to implement DynamicMenuContent, but nothing I do seems to trigger the dynamic menu content methods from getting called. The action is showing up in the Navigate menu unconditionally. I've looked at some other examples (RunLastTargetAction.java, InspectProjectAction.java) and can't figure out what's different. Don't know, trunk version is not using DynamicMenuContent. I would suggest to disable the action. Don't remove it. We're thinking about getting rid of dynamic behavior of Tools menu. This would go against it. Fixed IDE:------------------------------------------------- IDE: [8/7/07 12:57 PM] Committing started Checking in railsprojects/src/org/netbeans/modules/ruby/railsprojects/GotoActionView.java; /cvs/ruby/railsprojects/src/org/netbeans/modules/ruby/railsprojects/GotoActionView.java,v <-- GotoActionView.java new revision: 1.6; previous revision: 1.5 done Checking in editing/src/org/netbeans/modules/ruby/RubyUtils.java; /cvs/ruby/editing/src/org/netbeans/modules/ruby/RubyUtils.java,v <-- RubyUtils.java new revision: 1.8; previous revision: 1.7 done IDE: [8/7/07 12:57 PM] Committing finished *** Issue 111353 has been marked as a duplicate of this issue. *** Regarding "BTW the label should probably be (note space and ellipsis): "Go to Rails Action/View..." - I didn't add an ellipsis since this action does not pop up any dialogs (which I thought was what "..." signals). It's just like "Go To Declaration" or the other navigation actions in that it just warps to another source file. |