Difference between revisions of "Teams Winter 2011/team1/RCP/Create RPC Application"

From CDOT Wiki
Jump to: navigation, search
(Run The Application)
(Run The Application)
Line 20: Line 20:
  
 
==== Run The Application ====
 
==== Run The Application ====
[[Image: RCPRun1.jpg | 400px]]<br/>
+
[[Image: RCPRun1.jpg | 700px]]<br/>
[[Image: RCPRun2.jpg | 400px]]<br/>
+
[[Image: RCPRun2.jpg | 3500px]]<br/>
  
 
=== Add Model ===
 
=== Add Model ===

Revision as of 15:15, 8 March 2011

Create a RCP Application

Start The Application

Create an new plug-in project from File menu (File>New>Project>Plug-in Development> Plug-in project).
CreateRCPApp1.jpg

Name it: "cs.ecl.rcp.SimpleRCP"
CreateRCPApp2.jpg

Select "Yes" in responce to the question:" Would you like to create a rich client application?"
CreateRCPApp3.jpg

Select the "Hello RCP" in the Templates screen.
CreateRCPApp4.jpg

Un-check "Add branding".
CreateRCPApp5.jpg

The "RCP" project is created with some classes already in it. We will modify this project to create our RCP application for the purpose if this tutorial.
CreateRCPApp6.jpg

Run The Application

RCPRun1.jpg
RCPRun2.jpg

Add Model

Create Model Package

Add Model Class(s)

Add Model Provider