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 43173

Summary: Action for COMMAND_RUN_SINGLE should have neutral name
Product: projects Reporter: Pavel Buzek <pbuzek>
Component: Generic Projects UIAssignee: Petr Hrebejk <phrebejk>
Status: CLOSED FIXED    
Severity: blocker CC: jrojcek
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Pavel Buzek 2004-05-12 18:28:19 UTC
javadoc in org.netbeans.spi.project.ActionProvider
says:

/** 
* Standard command for running one file
*/
String COMMAND_RUN_SINGLE = "run.single"; // NOI18N

Which suggests that it can be used for any type of
file. The label of action is "Run Class". Change
it to something more neutral (Run File, Run
Selected Object, etc.)
Comment 1 Jesse Glick 2004-05-12 20:42:59 UTC
Jano, suggested alternate label? Pavel, what are your use cases?
Comment 2 jrojcek 2004-05-13 09:00:17 UTC
Changed to 'Run "<selected-file>"'. If no file is selected it is disabled and says "Run File".
Comment 3 Petr Hrebejk 2004-05-13 14:29:30 UTC
Make the names as much neutral as possible
Comment 4 Petr Hrebejk 2004-05-13 15:30:29 UTC
I meant made it neutral.
Comment 5 Jesse Glick 2004-05-13 23:54:19 UTC
Deps backwards.
Comment 6 Pavel Buzek 2004-05-14 00:56:10 UTC
My use cases are running j2ee components. Specificaly running JSPs and
Servlet - that means deploying the web module to server and showing
the URL that corresponds to a given JSP/Servlet.
What Jano suggests (and Petr implemented) works for me. Thanks.