Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Rap10M3 News"

(RWT)
m (added to RAP category)
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
===RAP 1.0 M3 - New and Noteworthy===
 
===RAP 1.0 M3 - New and Noteworthy===
  
This document will become the New and Noteworthy page for the next milestone release and meanwhile serves to document the development progress.
+
Here are some of the more noteworthy things available in milestone build M3 (April 27, 2007) which is now available for [http://www.eclipse.org/rap/downloads.php download].
 
+
All features documented here can be obtained from [http://www.eclipse.org/rap/cvs.php CVS] HEAD.
+
 
+
<!--
+
Here are some of the more noteworthy things available in milestone build M3 (???) which is now available for [http://www.eclipse.org/rap/downloads.php download].
+
-->
+
  
 
==RAP Common==
 
==RAP Common==
Line 76: Line 70:
 
|'''New Table implementation'''
 
|'''New Table implementation'''
 
|[[Image:RAPTableBasic.png]]
 
|[[Image:RAPTableBasic.png]]
The existing Table was re-implemented from scratch.
+
The existing [[9_Advanced_Controls|Table]] was re-implemented from scratch. The following is a list of the main features currently implemented
 +
* Management of items and columns
 +
* Selection-handling and -events (multi-selection is yet to come)
 +
* The column header and grid lines can be shown and hidden
 +
* Columns can be resized
 
|}
 
|}
  
Line 105: Line 103:
 
|-valign="top" align="left"
 
|-valign="top" align="left"
 
|width="20%"|'''Feature Project in CVS'''
 
|width="20%"|'''Feature Project in CVS'''
|width="80%"|The RAP CVS contains a new project (org.eclipse.rap.demo.feature) that demonstrates how to create a deployment archive (WAR). The deployment uses the org.eclipse.equinox.servletbridge as servlet container hook. The documentation is currently integrated in the project - see the deployment_tutorial.html in the root directory.
+
|width="80%"|The RAP CVS contains a new project (org.eclipse.rap.demo.feature) that demonstrates how to create a deployment archive (WAR). The deployment uses the org.eclipse.equinox.servletbridge as servlet container hook.  
 +
 
 +
A tutorial is available in the org.eclipse.rap.help plug-in (see help/html/getting-started/deployment.html in the sources of the help plug-in or the chapter WAR Deployment of the installed online help).
 
|}
 
|}
  
  
The above features are just the ones that are new since the previous milestone build.
+
The above features are just the ones that are new since the previous milestone build. Summaries for earlier milestone builds:
 +
 
 +
[[Rap10M2_News|New for RAP 1.0 milestone build M2 (March 2, 2007)]]
 +
 
 +
[[Category:RAP]]

Revision as of 17:54, 7 June 2007

| RAP wiki home | RAP project home |

RAP 1.0 M3 - New and Noteworthy

Here are some of the more noteworthy things available in milestone build M3 (April 27, 2007) which is now available for download.

RAP Common

RCP Namespaces After many RAP users have requested it and after discussing this topic with the SWT and Platform team we have moved org.eclipse.rwt.rap to org.eclipse.swt, org.eclipse.rap.jface to org.eclipse.jface and org.eclipse.rap.ui to org.eclipse.ui package names. This should ease the task of adopting RCP code to RAP. To adjust your existing projects to the new packages you may use the organize imports functionality of eclipse.

Note: RAP will provide a strict subset of the established API in those namespaces. There are currently a few exceptions to this rule but this is work in process and the strict subset will be achieved in M4. Additional API is provided in additional packages.

RWT

Progress Cursor for Long Running Requests RapHourGlassCursor.png

When a request takes longer than 500 ms to return, the cursor will change to indicate that an operation is in progress. Once the response arrives the cursor is switched back to default.


ToolItem and MenuItem Enhancements RAPToolBarEnabled.png

RAPToolBarDisabled.png

As this is a basic prerequisite for disabling workbench actions, ToolItem and MenuItem now implement the setEnabled, getEnabled and isEnabled methods.

In addition, the ToolItem can now show tool tips.

MenuListener RAPFileMenu-pre.pngRAPFileMenu.png<br\>

MenuListeners can now be added to Menus to process actions before a menu shows up and after it is hidden. While the menuShown event is processed, a preliminary menu is displayed to signal that the menu is loading. This allows for enabled/disabling menu items just before the menu comes up.

Link RAPLink.png

The SWT control Link, a text label with embedded hyperlinks, is now also available in RWT. A SelectionListener can be added to invoke arbitrary actions on a click.

Tab Order RAPTabOrder.png

The tab order, i.e. the order that controls within a composite are traversed when the TAB key is pressed, is now configurable using the method setTabList( Control[] tablist ) on Composite. As in SWT, the default tab order now corresponds to the order that controls are added to their parent composite.

Image Bounds RAPImageBounds.png

The size of images is now determined on image loading and can be read using Image.getBounds(). As a consequence, Labels that contain images can now compute their size correctly.

SWT Flags
  • The flag SWT.TOGGLE can now be used for Buttons that snap in and stay pressed.
  • The flag SWT.ON_TOP is now supported for Shells that are always on top of all other shells.

And yes, it's now ok to use SWT instead of RWT.

New Table implementation RAPTableBasic.png

The existing Table was re-implemented from scratch. The following is a list of the main features currently implemented

  • Management of items and columns
  • Selection-handling and -events (multi-selection is yet to come)
  • The column header and grid lines can be shown and hidden
  • Columns can be resized

RAP JFace

ComboViewer The ComboViewer is now implemented (or rather copied from JFace:). It is a concrete viewer based on an RWT Combo control.
IMenuListener IMenuListener implementations can now be added to a MenuManager.

RAP Workbench

Startup Page The screenshot below now is history.

RapStartupPage.png

The startup procedure was cut down from two to one single request. The current implementation provides a template startup page that contains all the necessary things for RAP to work but also allows for customization. The latter is not yet available from 'outside' - but stay tuned.

RAP WAR Deployment

Feature Project in CVS The RAP CVS contains a new project (org.eclipse.rap.demo.feature) that demonstrates how to create a deployment archive (WAR). The deployment uses the org.eclipse.equinox.servletbridge as servlet container hook.

A tutorial is available in the org.eclipse.rap.help plug-in (see help/html/getting-started/deployment.html in the sources of the help plug-in or the chapter WAR Deployment of the installed online help).


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 M2 (March 2, 2007)

Copyright © Eclipse Foundation, Inc. All Rights Reserved.