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

Rap10M2 News

| RAP wiki home | RAP project home |

RAP 1.0 M2 - New and Noteworthy

Here are some of the more noteworthy things available in milestone build M2 which will be available for download on March 2, 2007. If You don't want to wait, all the listed features are available in CVS HEAD.

JFace

Dialogs The RAP JFace adaption now provides the class Dialog and friends.
  • InputDialog

RapInputDialog.png

  • MessageDialog

RapQuestionDialog.png

  • ErrorDialog

File:RapErrorDialog.png

Due to the distributed nature of RAP, the way how the result is passed back to the caller differs from JFace. RAP JFace provides an IWindowCallback interface whose windowClosed method is called with the returnCode as a parameter when a dialog was closed.


RWT

ModifyEvent RWT now supports the ModifyEvent. The two widgets that benefit from this are Text and Spinner.

Though implementing a ModifyListener does not differ from SWT as You can see below, the inner workings do differ. In contrary to SWT that sends a ModifyEvent immediately, RWT uses a delay of currently 500 ms after which the server is notified about changes.

  Text text = new Text( parent, RWT.SINGLE );
  text.addModifyListener( new ModifyListener() {
    public void modifyText( ModifyEvent event ) {
      // update model with changed text
    }
  } );


Back to the top