Changes

Jump to: navigation, search

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

334 bytes added, 22:35, 8 March 2011
Implement The Command Handler
[[Image: RCPCommand6.jpg | 700px]]<br/>
<br/>
Modify the "execute" method with the following code:<br/> <code>PrintHandler.java </code> <source lang=java>@Override public Object execute(ExecutionEvent event) throws ExecutionException { List<Student> studentList = ModelProvider.INSTANCE.getStudents(); for (Student s : studentList) { System.out.println(s); } return null; }</source>
<br/>
[[Image: RCPCommand8.jpg | 500px]]<br/>
<br/>
1
edit

Navigation menu