Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 25787 - 'Run' item on File Context Menu
Summary: 'Run' item on File Context Menu
Status: RESOLVED DUPLICATE of bug 18338
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-06 13:19 EST by Fran Tonello CLA
Modified: 2002-11-11 14:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fran Tonello CLA 2002-11-06 13:19:17 EST
It would be very helpful to have a 'Run' item on the file context menu.  This 
would have a sub-menu which would include all the items currently on the 
existing 'Run' dropdown.  It would also be nice if Run menu items were smarter 
about when they're enabled.  For example, Run wouldn't be enabled at all if the 
file doesn't have a main() method and isn't a JUnit Test.
Comment 1 Fran Tonello CLA 2002-11-06 13:35:13 EST
In addition to adding 'Run' to the file context menu in the package explorer, 
it would be very helpful to add it to the file tab context menu as well.
Comment 2 Dani Megert CLA 2002-11-07 12:09:24 EST
This is contributed by debug.
Comment 3 Darin Wright CLA 2002-11-11 14:17:06 EST
The difficulty here is that an action in a menu must determine its enablement 
state in "zero" time. To determine if applicable, the action would have to 
parse a file, and perhaps create a type hierarchy. Worse, the "run" action is 
not java specific - it pertains to all types of launch configuraitons. Thus, we 
removed this menu action in 2.0. 

*** This bug has been marked as a duplicate of 18338 ***