1
edit
Changes
→Use The Command in The Menu
[[Image: RCPCommand8.jpg | 500px]]<br/>
<br/>
Then right click on the added extention extension point and choose New > menuContribution.M<br/>
[[Image: RCPCommand9.jpg | 500px]]<br/>
<br/>
In the menueContribution's Extention Extension Element Details section set the locationURI to :"menu:org.eclipse.ui.main.menu" (make sure it is typed correctly).<br/>
[[Image: RCPCommand10.jpg | 400px]]<br/>
<br/>
Then right click on the "menuContibution " in All Extentions Extensions section and select New > command.<br/>
[[Image: RCPCommand11.jpg | 400px]]<br/>
<br/>
Now we will add our Print command info to the Extension Element Details of the command we just added. We can give it any lable, but the commandID must be the same as our Print Command.<br/>
[[Image: RCPCommand12.jpg | 400px]]<br/>