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 - Action for COMMAND_RUN_SINGLE should have neutral name
Summary: Action for COMMAND_RUN_SINGLE should have neutral name
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-12 18:28 UTC by Pavel Buzek
Modified: 2006-03-24 09:53 UTC (History)
1 user (show)

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