1
edit
Changes
→"Delete Student" Command
==== "Delete Student" Command ====
Add the "DeleteStudent" command to commands extension point for Delete and create the Handler Class.<br/>
<br/>
[[Image: RCPCommand17.jpg | 700px]]<br/>
<br/>
Add the command you just created to the menuContribution extension point.<br/>
[[Image: RCPCommand18.jpg | 700px]]<br/>
<br/>
Here is the code for the execute method of the DeleteStudent class. It finds the student(s) that user has selected on the table viewer to delete from the ModelProvider and then refreshes the viewer.
==== "Add Student" Command ====