RCP : Lab

From CDOT Wiki
Revision as of 12:36, 15 February 2011 by Jordan.anastasiade (talk | contribs) (RCP lab)
Jump to: navigation, search

RCP Lab Activities - The LAB DUE DATE is in two weeks from the time the lab is defined (for example, the Basics lab is defined in the second week and its due date is in the fourth week; the lab for OSGi is defined in the fourth week and its deadline is in the sixth week, and so forth...)


  • Start and run the RCP Eclipse.
  • Define the workspace as: ./wksp/RCP/lab
  • Create a project based on the application defined below in description section.
  • Develop the application, Run and Debug it.
  • When the application runs as expected, Open the Subversion Perspective in RCP Eclipse and upload the application to the repository that was given to you at the beginning of this course.
  • Write a detailed tutorial about using RCP Eclipse to develop such an application. The tutorial must be written in wiki / html / ppt / pdf format (choose the format that is more convenient to your team) . Checkin in the repository your tutorial, if the format allows it. (if not, (i.e. if your format does not allow you to store it in your repository), then define in your repository only the address of your tutorial). Thus, the url address stored in the repository, can be used to read your tutorial; (for instance, if your tutorial is in wiki format store in the repository the address of wiki tutorial).

Individual Deliverable:

  • Each student must create a web page in his/her zenit account course that contains student identification (student name; picture, wiki address, etc., and for every lab, one should define the links to the repository of his/her work - code, tutorial, etc.; you do not have to send any email with the address of your web page).

Team Deliverable:

  • WHEN requested you must send an email to Jordan Anastasiade with the address of your repository



RCP Lab Application Description: First, define in few sentences the intended functionality of your RCP application. (For instance, your app could be used to collect and display data of a student in JFace table). In your implementation you have to:

  • Create a RCP application
    • Start your RCP application
    • Run configuration
  • Define and use commands
    • Create view(s)
    • Add view(s) to perspective via code
    • Run your app with view(s)
  • Define and use editors
    • Create editor
    • Set command for opening the editor
  • Use JFace viewers
    • Add a status line to your application
    • Add a perspective to your application
  • Create a configuration for your application

Your lab will be marked based on the following criteria: Please find them below in the order of their importance:

  1. The correctness of the system design.
  2. The complexity of your RCP application.
  3. The design and implementation of the GUI using SWT components.
  4. The clarity and usefulness of your tutorial.
Your tutorial must be stored in your repository (if this is possible, namely if the tutorial format could be stored in the repository). If not (e.g. the wiki format), then its address must be stored in the repository. In either case your tutorial must be registered as an entry at the course tutorial resources.

Important note: Do not forget to register your tutorial at our course resources.