| <?php |
| 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 M5 - New and Noteworthy</h1> |
| <!-- |
| <p>Here are some of the more noteworthy things that will be available in the |
| milestone build M5 (February 16, 2009). |
| Meanwhile, all features listed here can be obtained from |
| <a href="/rap/source/">CVS HEAD</a> |
| </p> |
| --> |
| <p>Here are some of the more noteworthy things that are available in this |
| milestone build which is now available for |
| <a href="http://www.eclipse.org/rap/downloads/">download</a>. |
| </p> |
| |
| <p> |
| <a href="https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&classification=RT&product=RAP&target_milestone=1.2+M5&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0="> |
| This list</a> shows all bugs that were fixed during this milestone. |
| </p> |
| |
| <p><ul> |
| <li><a href="#Common">Common</a></li> |
| <li><a href="#RWT">RWT</a></li> |
| </ul></p> |
| |
| <p> </p> |
| <hr /> |
| |
| <a name="Common"></a> |
| <h2>Common</h2> |
| <table> |
| <tr valign="top" align="left"> |
| <td width="20%"> |
| <b>com.ibm.icu.base</b></td> |
| <td width="80%"> |
| <a href="http://icu-project.org/">ICU4J</a> is a set of Java libraries |
| that provides comprehensive support for Unicode, software globalization, |
| and internationalization. These libraries are packaged in the plug-in |
| com.ibm.icu (about 3MB in size) |
| <p>Several plug-ins like Workbench, Forms, and JFace Databinding make |
| use of these libraries and so do the respective RAP apdoptions.</p> |
| <p>As of this milestone, RAP uses the |
| <a href="http://wiki.eclipse.org/index.php/ICU4J#Replacement_Plug-in"> |
| Replacement Plug-in com.ibm.icu.base</a> |
| (about 100KB in size) in order to reduce the overall size of the |
| target platform by almost 3MB.</p> |
| <p> |
| Since all dependencies on ICU4J are expressed by <code>Import-Package</code> |
| declarations, the replacement plug-in can be easily "re-replaced" |
| if necessary. |
| </p> |
| <td/> |
| </tr> |
| </table> |
| |
| <p> </p> |
| <hr /> |
| |
| <a name="RWT"></a> |
| <h2>RWT</h2> |
| <table> |
| <tr valign="top" align="left"> |
| <td width="20%"> |
| <b>ColorDialog</b></td> |
| <td width="80%"> |
| SWT's ColorDialog has been implemented for RWT. |
| <br /> |
| <pre><code> |
| ColorDialog dialog = new ColorDialog( shell ); |
| RGB result = dialog.open(); |
| </code></pre> |
| <img src="images/color-dialog.png"/> |
| <p> </p> |
| <td/> |
| </tr> |
| |
| <tr valign="top" align="left"> |
| <td width="20%"> |
| <b>Button widget</b></td> |
| <td width="80%"> |
| The <code>Button</code> widget has been reworked. Now there are |
| custom implementations for check boxes and radio buttons The new |
| features are: |
| <li>The method <code>Button#setGrayed()</code> is implemented for a |
| check box behavior that works much the same as in SWT. |
| <br /> |
| <img src="images/RAPCheckGrayed.png" /> |
| </li> |
| <li>Hover state is implemented for both radio and check buttons. |
| </li> |
| <li>Images are used for check and radio icons and can be defined via |
| theming for the default, selected, hover and grayed (only check box) |
| state. |
| These are examples for setting the state images for the default |
| state of a radio button and for the combined selected and grayed |
| state of a check button: |
| <pre> |
| Button-RadioIcon { |
| <span style="color:blue;">background-image</span>: url( <span style="color:#568c28;">resource/widget/rap/button/radio-unselected.png</span> ); |
| } |
| |
| Button-CheckIcon:selected:grayed { |
| <span style="color:blue;">background-image</span>: url( <span style="color:#568c28;">resource/widget/rap/button/check-grayed.png</span> ); |
| } |
| </pre> |
| </li> |
| <li>The <code>Button#setImage()</code> method now works as in SWT. |
| <br /> |
| <img src="images/RAPCheckImage.png" /> |
| </li> |
| </td> |
| </tr> |
| |
| <tr valign="top" align="left"> |
| <td width="20%"> |
| <b>Themeable System Images</b></td> |
| <td width="80%"> |
| The system images used for SWT MessageBox and JFace MessageDialog can |
| now be customized via theming. These images can also be acquired from |
| <code>Display#getSystemImage()</code>. |
| <pre><code> |
| Display { |
| rwt-error-image: url( /theme1/icons/dialog/error.png ); |
| rwt-information-image: url( /theme1/icons/dialog/information.png ); |
| rwt-warning-image: url( /theme1/icons/dialog/information.png ); |
| rwt-question-image: url( /theme1/icons/dialog/question.png ); |
| rwt-warning-image: url( /theme1/icons/dialog/warning.png ); |
| } |
| </code></pre> |
| <p><img src="images/CustomSystemImages.png"/></p> |
| <td/> |
| </tr> |
| </table> |
| |
| <p> </p> |
| <hr /> |
| |
| <p>The above features are just the ones that are new since the last |
| milestone build. Summaries for earlier builds:</p> |
| <ul> |
| <li><a href="news_M4.php">New for RAP 1.2 M4 (January 12, 2008)</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> |
| </ul> |
| |
| <p> </p> |
| |
| </div> |
| </div> |
| |
| EOHTML; |
| |
| # Generate the web page |
| $navPosition = array( "documentation", "noteworthy" ); |
| |
| generateRapPage( $pageAuthor, $pageKeywords, $pageTitle, $html, $navPosition ); |
| ?> |