blob: 624bcd6b2a4575db12e6f403ecda4d43b2151e26 [file] [log] [blame]
include( $_SERVER['DOCUMENT_ROOT'] . "/rap/_projectCommon.php" );
$pageTitle = "RAP Project - New and Noteworthy";
$pageKeywords = "Ajax, rap, eclipse rap";
$pageAuthor = "Ruediger Herrmann";
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="maincontent">
<div id="midcolumn">
<h1>RAP 1.2 M6 - New and Noteworthy</h1>
<p>Here are some of the more noteworthy things that are available in this
milestone build which is now available for
<a href="">download</a>.
<a href="">
This list</a> shows all bugs that were fixed during this milestone.
<li><a href="#RWT">RWT</a></li>
<li><a href="#Forms">Forms</a></li>
<li><a href="#Workbench">Workbench</a></li>
<a name="RWT"></a>
<tr valign="top" align="left">
<td width="20%">
<b>New API added</b></td>
<td width="80%">
For this milestone, we concentrated on implementing SWT API that was
still missing in RAP.
This will make it easier for the community to reuse existing code or
to utilize new features.
Here is a list of API methods added in this milestone:
<br />
<li>User data on <code>Display</code> (<code>setData( Object )</code>,
<code>setData( String, Object )</code>, etc.)</li>
<li><code>Monitor</code> and its accessors like
<code>getPrimaryMonitor()</code> on <code>Display</code> and
<code>getMonitor()</code> on <code>Control</code></li>
<li><code>CTabFolder#getItem( Point )</code></li>
<li><code>DateTime#setDate( int, int, int )</code></li>
<li>sashWidth and <code>setMaximizedControl()</code> on
<li>Selection listener on <code>Spinner</code></li>
<li><code>TabItem#setToolTipText( String )</code></li>
<li><code>setDisabledImage()</code> and <code>setHotImage()</code>
on <code>ToolItem</code></li>
<tr valign="top" align="left">
<td width="20%">
<b>CCombo widget</b></td>
<td width="80%">
Now there is a CCombo widget that works much the same as in SWT.
<p><img src="images/RAPCCombo.png" /></p>
<a name="Forms"></a>
<tr valign="top" align="left">
<td width="20%">
<td width="80%">
The <code>org.eclipse.ui.forms.widgets.FormText</code> has been
implemented in RAP. FormText is a read-only text control that is
capable of rendering wrapped text. Text can be rendered as-is or
by parsing the formatting XML tags like <code>&lt;p&gt;</code>,
<code>&lt;li&gt;</code>, <code>&lt;a&gt;</code>, <code>&lt;img&gt;</code>,
<code>&lt;control&gt;</code> and <code>&lt;span&gt;</code>.
You can use the <code>FormToolkit</code> to create an instance:
FormText formText = toolkit.createFormText( form.getBody(), true );
<p><img src="images/RAPFormText.png" ></p>
<p>For further details please also see
<a href="">this bug</a></p>
<a name="Workbench"></a>
<tr valign="top" align="left">
<td width="20%">
<b>Intro support</b></td>
<td width="80%">
The <code>org.eclipse.ui.intro</code> extension point
provides a generic mechanism that can be used to create your own
intro support for your application. The main purpose of this extension
is to define the class that implements <code>IIntroPart</code> and to
specify the binding between a <b>branding</b> and an intro part.
As RAP does not support products as known from RCP you can use the
<code>org.eclipse.rap.ui.branding</code> extension point to bind your
intro to a specific branding.
For example, the following contribution defines a hypothetical intro
part to be shown by the workbench on startup:
When starting the application for the first time the intro will appear
in fullscreen covering the rest of the workbench window:
<p><img src="images/intro_full.png"/></p>
In standby mode the workbench shows the regular perspective with the
intro on the right side:
<p><img src="images/intro_standby.png"/></p>
For more informations about how to use the intro extension, see
<a href="">
Contributing a HelloWorld intro Part
<tr valign="top" align="left">
<td width="20%">
<td width="80%">
During the M6 milestone, the databinding core plug-ins were restructured.
Like its RCP counterpart, the RAP workbench has a dependency
to core databinding and thus is affected from these changes.
<p>Effectively, two more bundles, <code>org.eclipse.databinding.observable</code>
and <code></code> are now required to
run the workbench. Please update your build scripts and launch
configurations accordingly.</p>
<p>The above features are just the ones that are new since the last
milestone build. Summaries for earlier builds:</p>
<li><a href="news_M5.php">New for RAP 1.2 M5 (February 16, 2009)</a></li>
<li><a href="news_M4.php">New for RAP 1.2 M4 (January 12, 2009)</a></li>
<li><a href="news_M3.php">New for RAP 1.2 M3 (November 19, 2008)</a></li>
<li><a href="news_M2.php">New for RAP 1.2 M2 (October 8, 2008)</a></li>
# Generate the web page
$navPosition = array( "documentation", "noteworthy" );
generateRapPage( $pageAuthor, $pageKeywords, $pageTitle, $html, $navPosition );