1
edit
Changes
→Use The Command in The Menu
<br/>
In the menueContribution's Extension Element Details section set the locationURI to :"menu:org.eclipse.ui.main.menu" (make sure it is typed correctly).<br/>
[[Image: RCPCommand10.jpg | 400px500px]]<br/>
<br/>
Then right click on the "menuContibution" in All Extensions section and select New > command.<br/>