Changes

Jump to: navigation, search

Teams Winter 2011/team1/RCP/Define and use commands

385 bytes added, 19:43, 8 March 2011
Add a Command (Print Students) to Your Project
[[Image: RCPCommand2.jpg | 400px]]<br/>
<br/>
Right click on the added extention point and select command from the New menu, to add a command to your commands.<br/>
[[Image: RCPCommand3.jpg | 400px]]<br/>
<br/>
select the command and in "Extention Element Details" section, set the id of the command as "cs.rcp.simpleRCP.commands.print". Also name the command "Print", and set the defaultHandler class to be "cs.ecl.rcp.simpleRCP.commands.PrintHandler. Save the file (Ctrl+S).
[[Image: RCPCommand4.jpg | 400px]]<br/>
<br/>
1
edit

Navigation menu