Changes

Jump to: navigation, search

RCP : Install Eclipse Plugins Fedora

1,383 bytes added, 12:46, 27 February 2011
no edit summary
# Install Eclipse (Helios 3.6.1) with the command '''yum groupinstall "Fedora Eclipse"'''.
# That's it! You can now use Eclipse to build C, C++ or Java programs.
== What's RCP? ==
RCP stands for "Rich Client Platform" which defines the minimal set of plugins required to build rich clients. So, what are "rich clients"? Well, rich clients are the compliment to thin clients. Recall that thin clients refer to web-based applications where most of the work is done on the server. Rich clients then are highly interactive, graphical applications that are deployed to the client machine.
 
The two components of the Rich Client Platform we'll be using in this course are the Standard Widget Toolkit (SWT) and JFace. JFace is a UI toolkit with classes for handling many common UI programming tasks.
== Checking What's Already Installed ==
SWT (Standard Widget Toolkit) should now be installed. If you look in the directory /usr/lib64/eclipse you should see links to several SWT libraries. Here's what I get when I do a directory listing:
features links
[selmys@f14 eclipse]$
</source>
 
JFace should also be installed. You can verify this by listing the /usr/lib64/eclipse/plugins directory. Here you'll see the jface JAR files.
<source lang="bash">
org.eclipse.jface_3.6.1.M20100825-0800.jar
org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar
org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar
</source>
== Installing SWT Examples ==
There are many SWT examples which you can examine and run. These are not already installed. You can install them from inside Eclipse Helios by doing the following.
# Open the main update manager by clicking Help > Install New Software.... This opens the Install Wizard.
# Select The Eclipse Project Updates site.
# Review the items being installed, and click Next.
# Review and accept the license terms, and click Finish.
 
You can run any of the examples by doing the following:
# From Eclipse's Window menu, select Show View > Other
# In the Show View dialog, expand SWT Examples and select the SWT Example Launcher view
# Select an example from the list and click on the Run button.
63
edits

Navigation menu