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 67360 - right click menu in source editor does not have "debug" only run test
Summary: right click menu in source editor does not have "debug" only run test
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL: http://editor.netbeans.org/doc/UserVi...
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-10-23 02:45 UTC by hanasaki
Modified: 2006-12-27 18:25 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanasaki 2005-10-23 02:45:10 UTC
right click menu in source editor does not have "debug" only run test

when viewing a junit test source file there should be a "debug" as well as the
"run" just as it exists when right clicking on the file in the source/package tree
Comment 1 Marian Petras 2005-11-14 13:56:38 UTC
Items for running and debugging of JUnit tests are managed by the Projects
module - reassigned to "projects".
Comment 2 Jan Lahoda 2005-11-14 14:28:23 UTC
It is technically possible to add "Debug File" action to context menu of the
editor for all Java source files (AFAIK, not possible to add it only to junit
test sources). But the current state is as described in the UI spec (see the URL
field), so assigning to Jano to decide whether there should be "Debug File"
action in the context menu or not.
Comment 3 Jesse Glick 2005-11-15 01:02:52 UTC
It is relatively straightforward to have a menu item conditionally appear (only
when it would be enabled). Just need to use DynamicMenuContent.
Comment 4 Jesse Glick 2006-12-27 18:24:04 UTC
I can fix.
Comment 5 Jesse Glick 2006-12-27 18:25:13 UTC
Checking in layer.xml;
/shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml,v
 <--  layer.xml
new revision: 1.73; previous revision: 1.72
done