platform-ui-home/rcp/index.html
Parent Directory
|
Revision Log
Revision 1.11 -
(download)
(as text)
(annotate)
Mon Sep 20 18:47:15 2004 UTC (5 years, 2 months ago) by eidsness
Branch: MAIN
Changes since 1.10: +1 -1 lines
Mon Sep 20 18:47:15 2004 UTC (5 years, 2 months ago) by eidsness
Branch: MAIN
Changes since 1.10: +1 -1 lines
updated link to branding article (final revision now available)
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> <title>Eclipse Rich Client Platform</title> </head> <body> <h1>Eclipse Rich Client Platform</h1> <P> While the Eclipse platform is designed to serve as an open tools platform, it is architected so that its components could be used to build just about any client application. The minimal set of plug-ins needed to build a rich client application is collectively known as the <b>Rich Client Platform</b>. </P> <p> Applications that don't require a common resource model can be built using a subset of the platform. These rich applications are still based on a dynamic plug-in model, and the UI is built using the same toolkits and extension points. The layout and function of the workbench is under fine-grained control of the plug-in developer in this case. </P> <p> When we say that the Rich Client Platform is the minimal set of plug-ins needed to build a platform application with a UI, we mean that your application need only require two plug-ins, <b>org.eclipse.ui</b> and <b>org.eclipse.core.runtime</b>. However, rich client applications are free to use any API deemed necessary for their feature set, and can require any plug-ins above the bare minimum. Examples include the Help UI, and the Update Manager. </p> <h4>FAQs</h4> <ul> <li><a href="faq.html">Rich Client Platform FAQ</a></li> </ul> <h4>Articles and Tutorials</h4> <ul> <li>Rich Client Platform Tutorial, by Ed Burnette. <a href="http://eclipse.org/articles/Article-RCP-1/tutorial1.html">Part 1</a>, <a href="http://eclipse.org/articles/Article-RCP-2/tutorial2.html">Part 2</a>, <a href="http://eclipse.org/articles/Article-RCP-3/tutorial3.html">Part 3</a> </li> <li>Eclipse's Rich Client Platform, by Jeff Gunther (on IBM developerWorks). <a href="http://www-106.ibm.com/developerworks/edu/os-dw-os-rcp1-i.html">Part 1</a>, <a href="http://www-106.ibm.com/developerworks/edu/os-dw-os-rcp2-i.html">Part 2</a> </li> <li><a href="http://eclipse.org/articles/Article-Branding/branding-your-application.html">Branding Your Application</a> by Pascal Rapicault and Andrew Eidsness. </ul> <h4><a name="help">Help Topics</a></h4> The following are relevant help topics from the Platform Plug-in Developer Guide (from within the Eclipse ID: Help > Help Contents > Platform Plug-in Developer Guide): <ul> <li><a href="http://help.eclipse.org/help30/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/rcp.htm">Building a Rich Client Platform application</a></li> <li><a href="http://help.eclipse.org/help30/topic/org.eclipse.platform.doc.isv/reference/misc/overview-platform.html">Map of Platform Plug-ins</a></li> <li><a href="http://help.eclipse.org/help30/topic/org.eclipse.platform.doc.isv/porting/eclipse_3_0_porting_guide.html">Eclipse 3.0 Plug-in Migration Guide</a></li> </ul> <h4><a name="rcp_browser">Browser Example</a></h4> The RCP Browser Example is an example of a simple RCP app. Here is a <a href="examples/browser/browser.jpg">screen shot</a>. <p> To load the browser example source into your workspace, load project <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.ui.examples.rcp.browser">org.eclipse.ui.examples.rcp.browser</a> from the Eclipse CVS repository. <br> Click <a href="http://dev.eclipse.org/cvshowto.html">here</a> for instructions on using CVS with Eclipse. <p> For instructions on running the example, see the <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.ui.examples.rcp.browser/readme.html">readme file</a>. <p> To run the example in binary form (last updated June 11, 2004 for the 3.0 RC2 build): <ol> <li>Download the RCP Runtime build from the <a href="http://eclipse.org/downloads/index.php">Downloads</a> page, and extract it to a folder such as <em>c:\browser-example</em>. <li>Download the <a href="examples/browser/org.eclipse.ui.examples.rcp.browser_3.0.0.zip">browser plug-in zip</a> and extract it to the eclipse/plugins subfolder. <li>Replace the eclipse/configuration/config.ini file with the appropriate config file from the browser plugin. For example, on Windows, copy eclipse/plugins/org.eclipse.ui.examples.rcp.browser_3.0.0/config_win32.ini to eclipse/configuration/config.ini . <li>Run: <code>eclipse.exe</code>. </ol> </p> <h4><a name="text_editor_example">Text Editor Example</h4> The RCP Text Editor Example is an example of a simple RCP app that makes use of the text editing infrastructure (an optional RCP component). <br> Click <a href="examples/texteditor/rcp_texteditor_ex.html">here</a> for the documentation for the example. <p> To run the example in binary form (last updated June 28, 2004 for the R3.0 build): <ol> <li>Download the RCP Runtime build from the <a href="http://eclipse.org/downloads/index.php">Downloads</a> page, and extract it to a folder such as <em>c:\texteditor-example</em>. <li>Download the <a href="examples/texteditor/org.eclipse.rcp.text_3.0.0.zip">RCP text editing component zip</a> and extract it to the eclipse/plugins subfolder. <li>Download the <a href="examples/texteditor/org.eclipse.ui.examples.rcp.texteditor_1.0.0.zip">texteditor plugin zip</a> and extract it to the eclipse/plugins subfolder. <li>Replace the eclipse/configuration/config.ini file with the appropriate config file from the texteditor plugin. For example, on Windows, copy eclipse/plugins/org.eclipse.ui.examples.rcp.texteditor_1.0.0/config_win32.ini to eclipse/configuration/config.ini . <li>Run the eclipse executable: For example, on Windows, run <code>eclipse.exe</code>. </ol> </p> <p> To load the text editor example source into your workspace: <ol> <li>Download the <a href="examples/texteditor/org.eclipse.ui.examples.rcp.texteditor_1.0.0.src.zip">texteditor source plugin</a> and save it on your harddisk.</li> <li>Create a new java project in your workspace and name it <code>org.eclipse.ui.examples.rcp.texteditor</code>. Choose to "Create separate source and output folders". <li>Choose File > Import > Zip File. <li>Use the Browse button to select the zip file you downloaded in step 1. Choose the plugin created in step 2 as destination folder. <li>Press Finish. </ol> To run the example from your workspace: <ol> <li>Choose Run > Debug... <li>Under Run-time Workbench, there should be two new configurations: RCP Text Editor (gtk) and RCP Text Editor (win32). <li>Edit the appropriate one as follows: <ul> <li>on the Arguments tab, change the workspace location to some directory with write access (different than your host workspace, and different than the workspace used for other launch configs); <li>in the Program to Run group, ensure that the application <b>org.eclipse.ui.workbench.rcp.texteditor.application</b> is selected; <li>on the Plug-ins tab, press Deselect All, check org.eclipse.ui.workbench.rcp.texteditor, press Add Required Plug-ins, and also check org.eclipse.update.configurator. </ul> <li>Press Debug. <li>When the RCP Text Editor Example window opens, use File > Open to open a plain text, .xml, or .html file. </ol> <p> </p> <h4><a name="rcp_and_r21">R2.1 Style Presentation</a></h4> The presentation of your RCP application can be changed using the org.eclipse.ui.presentationFactories extension point. This example will show how to use the R2.1 presentation, provided by the org.eclipse.ui.presentations.r21 plugin, in the RCP Browser Example application. Here is a <a href="examples/browser/browser-r21.jpg">screen shot</a> of the browser example using the R2.1 presentation. <p> The following steps will deploy the plugin into the RCP application and activate it by setting some preferences. <p> <ol> <li>Deploy the RCP browser example by following <a href="#rcp_browser">these instructions</a>.</li> <li>Build and deploy the org.eclipse.ui.presentations.r21 plugin.</li> <li>Copy the file eclipse/plugins/org.eclipse.ui.presentations.r21_3.0.0/r21presentation.ini into the directory eclipse/plugins/org.eclipse.ui.examples.rcp.browser_3.0.0.</li> <li>Edit eclipse/plugins/org.eclipse.ui.examples.rcp.browser_3.0.0/plugin.xml so that the products extension looks like: <pre> <extension point="org.eclipse.core.runtime.products" id="product"> <product name="%productName" application="org.eclipse.ui.examples.rcp.browser.app"> <property name="appName" value="%swtAppName"/> <property name="windowImages" value="icons/eclipse.gif,icons/eclipse32.gif"/> <property name="aboutText" value="%aboutText"/> <property name="aboutImage" value="icons/eclipse_lg.gif"/> <property name="preferenceCustomization" value="r21presentation.ini"/> </product> </extension> </pre></li> <li>If you are not using the update configurator, then remember to edit the osgi.bundles property (in ./eclipse/configuration/config.ini) to include the new plug-in.</li> <li>Run: <code>eclipse.exe</code>.</li> </ol> <h4><a name="design_docs">Design documents</h4> The following are the original design documents for the RCP work done in Eclipse 3.0. They are somewhat out of date and are provided here mainly for historical interest. The tutorials and help topics above provide better materials for getting started with RCP. <ul> <li>Original plan item in Bugzilla: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=36967">Enable Eclipse to be used as a rich client platform</a></li> <li><a href="generic_workbench_summary.html">Executive Summary of the Eclipse Rich Client Platform UI</a> (includes excerpts from the documents below)</li> <li><a href="generic_workbench_direction.html">Statement of Direction for the Eclipse Rich Client Platform UI</a></li> <li><a href="generic_workbench_approach.html">Eclipse Rich Client Platform UI - Proposed Approach</a></li> <li><a href="generic_workbench_overview.html">Overview of the Generic Workbench</a></li> <li><a href="generic_workbench_structure.html">Generic Workbench Plug-in Structure</a></li> </ul> <h4><a name="resources">Other Resources</h4> The following are other resources describing the Eclipse Rich Client Platform, or related subjects: <ul> <li>Chapter 13. Building Your Own Application, of the "<a href="http://www.eclipsefaq.org">Official Eclipse FAQs</a>" book.</li> <li>Ed Burnette's <a href="http://eclipsepowered.org">eclipsepowered.org</a> site.</li> </ul> </body> </html>
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
