Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

The browser example

We will look at how to build a Rich Client Platform application by going through a simple web browser example. This example is not included in the R3.0 SDK, but can be downloaded from the project org.eclipse.ui.examples.rcp.browser. If you are working in Eclipse, you may simply check out the project from the Eclipse CVS repository (see the Eclipse CVS How-To if you are not familiar with the procedure for checking out projects from CVS).

To run the RCP Browser example from within the Eclipse SDK:

  1. Load the project org.eclipse.ui.examples.rcp.browser from the Eclipse CVS repository.
  2. Choose Run > Run... from the workbench menu bar and create a new "Run-time workbench" configuration named "Browser Example".
  3. On the Arguments tab, select Run a product and select "org.eclipse.ui.examples.rcp.browser.product" from the drop-down.
  4. On the Plug-ins tab, select Choose plug-ins and fragments to launch from the list so that you can select which plug-ins are needed.
  5. Press Deselect All to start with a clean slate.
  6. Check "org.eclipse.ui.examples.rcp.browser"
  7. Press Add Required Plug-ins.
  8. Check "org.eclipse.update.configurator"
  9. Run or debug the new run configuration.
Browser Example Window

As you can see, it's hard to tell that this application has anything at all to do with Eclipse (apart from the default web site that it browses!). There is no resource navigator, no mention of the Eclipse Platform, and none of the familiar menu bar items from the platform workbench. (The few Eclipse-related features, such as the window icon, could also be reconfigured if desired.)

Hopefully this example helps clarify what's exciting about the Rich Client Platform. Let's take a look under the covers so we can learn what's involved in building one. We'll assume that you are familiar with the basic workbench extensions discussed in Plugging into the workbench.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire