Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 78836

Summary: [RCP] IWorkbenchActionConstants.M_VIEW is deprecated
Product: [Eclipse Project] Platform Reporter: Roland Tepp <roland>
Component: UIAssignee: Nick Edgar <n.a.edgar>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Roland Tepp CLA 2004-11-17 10:09:12 EST
I'm writing an RCP application (as most people here, I guess), and just finished
stepping throud Ed Burnette's RCP tutorials.

As one of the first customizations I tried to create the default menu layout for
my application, modelling it like typical layout of the Windows application:
  File  Edit  View  Window  Help

When I added the View menu item (not originally part of the tuorial setup), I
noticed the deprecation warning stating that the M_VIEW constant is deprecated
since 3.0

The reasoning for this deprecation escapes me.
I understand that neither Eclipse JDT or any other application developed by
Eclipse.org is using this menu, but to deprecate it entirely, is imho rather
short-sighted. 

The RCP should be as application agnostic as possible, hence it should not make
any assumptions based on the default set of applications build by Eclipse.org

Most of the applications I use, have View menu - just as they also have File,
Edit, Window and/or Help menus (also the Tools menu is fairly common). The
abstract workbench API should provision for these most common menu items instead
of deprecating them.
Comment 1 Nick Edgar CLA 2004-11-17 11:35:58 EST
> RCP should be as application agnostic as possible

See the discussion in bug 76059.  My inclination is to deprecate all menu ids in
the generic workbench, to make it as application agnostic as possible.


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