Changes

Jump to: navigation, search

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

1 byte removed, 13:30, 9 March 2011
Add view(s) to perspective via code
Now we have to add our view to the perspective.We could do this in Extensions window, but here we want to show you how to do it programmatically.<br/>
Find the "Perspective" class in src folder of your project in the "cs.ecl.rco.simplercp" package.Here is how it looks like:<br/>
[[Image: RCPView5.jpg | 700px600px]]<br/>
<br/>
Add the following code to add view to the perspective. we also are making the view non-closeable, so that user cannot close it.
}
</source>
 
==== Run your app with view(s)====
1
edit

Navigation menu