Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Rap10M6 News"
(→RAP 1.0 M6 - New and Noteworthy) |
(→RWT) |
||
Line 78: | Line 78: | ||
|-valign="top" align="left" | |-valign="top" align="left" | ||
− | |width="20%"|''' | + | |width="20%"|'''Tree with columns''' |
|width="80%"| | |width="80%"| | ||
The <code>Tree</code> widget is now able to manage and display several columns per <code>TreeItem</code>. Also setting images for different cells and having nice headers are new features of the tree. As you can see on the screenshot, the default images are not needed anymore. Columns can be resized or packed to have an optimal user expierence. | The <code>Tree</code> widget is now able to manage and display several columns per <code>TreeItem</code>. Also setting images for different cells and having nice headers are new features of the tree. As you can see on the screenshot, the default images are not needed anymore. Columns can be resized or packed to have an optimal user expierence. |
Revision as of 12:59, 17 August 2007
| RAP wiki home | RAP project home |
Contents
RAP 1.0 M6 - New and Noteworthy
Here are some of the more noteworthy things available in milestone build M6 (August 17, 2007) which is now available for download.
RAP Common
API Cleanup |
The org.eclipse.rap.rwt plug-in no longer depends on org.eclipse.rap.w4t. All code necessary for RWT was re-packaged and moved to org.eclipse.rap.rwt. Most applications should not be affected at all, in some cases it may be necessary to re-organize imports. In case your plug-in(s) depend on org.eclipse.rap.w4t, please remove this dependency. We provided some API beforehand that is not yet functional and will be implemented until 1.0. The list below gives an overview:
The VM arguments The two most used request parameter names lost their w4t prefix. In order to start a distinct entry point, just replace w4t_startup with startup like this: localhost:1234/rap?startup=myEntryPoint. The request parameter for custom service handlers also changed its name to custom_service_handler. The factory methods The work on branding functionality needs two little changes in your existing
If you develop custom widgets for RAP, please note that some parts of the RWT API needed for this task are still considered provisional.
The affected classes are those in the |
|
Extension Point move |
To be with RAP as near as possible at the original implementation of RCP we decided to repackage some bits to a new bundle called org.eclipse.rap.ui - an equivalent to the existing org.eclipse.ui plug-in. As a consequence some of the existing extension points have been moved to another namespace. Here is a list with all changes: The RAP-specific extension points were moved from the org.eclipse.rap.ui.workbench namespace to org.eclipse.rap.ui. This affects:
Extension points for themeing were moved from org.eclipse.rap.swt to the namespace mentioned above. This affects:
To adapt your existing plug-ins
|
RWT
Latest qooxdoo |
We just migrated to the latest revision of qooxdoo, the client-side JavaScript library of RAP. Beside many bug fixes, with this update, two flavors of qooxdoo builds are provided. The one with which RAP runs by default is optimized in size and speed. Targeted to custom widget developers is the debug variant. When launching RAP with the |
Text Size Determination API |
The API that serves as replacement for the SWT-GC functionalities for text size determination has been created. The methods |
Table appearance |
The |
Tree with columns |
The |
RAP JFace
Blocking Window |
Due to API compatibility to RCP we implemented a solution for blocking windows and removed the
String title = "Input Dialog"; String mesg = "Enter at least five characters"; String def = "default text"; final InputDialog dlg; dlg = new InputDialog( getShell(), title, mesg, def, val ); int returnCode = dlg.open(); if( returnCode == InputDialog.OK ) { inputDlgResLabel.setText( "Input Result: " + dlg.getValue() ); } else { inputDlgResLabel.setText( "No Result" ); }
|
RAP Forms
Forms Suppport |
There is initial support for the Forms Toolkit, Forms Editors and the like. The focus was put on API compatibility and functionality rather than mimicking the exact look of RCP Forms. The following is a list of the things that are already available:
Thanks to the donation of a Fortune 500 corporation we were able to acquire additional resources to have this implemented. |
RAP Workbench
New extension points |
Commands can be implemented using |
Branding |
If you ever wanted to customize the startup page, the page title or even the servlet name you can now use the |
The above features are just the ones that are new since the previous milestone build. Summaries for earlier milestone builds:
New for RAP 1.0 milestone build M5 (July 13, 2007)
New for RAP 1.0 milestone build M4 (June 08, 2007)
New for RAP 1.0 milestone build M3 (April 27, 2007)
New for RAP 1.0 milestone build M2 (March 2, 2007)