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.
Difference between revisions of "Rap10M2 News"
(→RWT) |
(→RWT) |
||
Line 46: | Line 46: | ||
|width="20%"|'''Default Button''' | |width="20%"|'''Default Button''' | ||
|width="80%"|The default button was implemented, that You can now tell the Shell which of its buttons should behave as the default button. Just to have something to write for the next milestone news, the default button is not yet highlighted;) | |width="80%"|The default button was implemented, that You can now tell the Shell which of its buttons should behave as the default button. Just to have something to write for the next milestone news, the default button is not yet highlighted;) | ||
− | For dependent Shells (those created with the <code>Shell( Shell )</code> constructor), the Escape closes the shell. | + | For dependent Shells (those created with the <code>Shell( Shell )</code> constructor), the Escape key closes the shell. |
|-valign="top" align="left" | |-valign="top" align="left" | ||
|width="20%"|'''Double click''' | |width="20%"|'''Double click''' | ||
− | |width="80%"|For <code>List</code>, <code>Tree</code> and <code>CTabFolder</code> RWT now recognizes a double-click that is reported via the <code>widgetDefaultSelected</code> method of the <code>SelectionEvent</code>. | + | |width="80%"|For <code>List</code>, <code>Tree</code>, and <code>CTabFolder</code> RWT now recognizes a double-click that is reported via the <code>widgetDefaultSelected</code> method of the <code>SelectionEvent</code>. |
If You doubt the authenticity of the screenshot You are free to try it out yourself with the online-demo. | If You doubt the authenticity of the screenshot You are free to try it out yourself with the online-demo. | ||
[[Image:RapDoubleClick.png]] | [[Image:RapDoubleClick.png]] | ||
|-valign="top" align="left" | |-valign="top" align="left" | ||
|'''Focus control and FocusEvent''' | |'''Focus control and FocusEvent''' | ||
− | |In this development cycle we also put our focus on the focus. Though not yet complete in all aspects the <code>setFocus</code>, <code>forceFocus</code> and <code>isFocusControl</code> | + | |In this development cycle we also put our focus on the focus. Though not yet complete in all aspects, the methods <code>setFocus</code>, <code>forceFocus</code>, and <code>isFocusControl</code> of the <code>Control</code> class allow You to focus a control and query whether the control has the input focus. The <code>getFocusControl</code> on class <code>Display</code> tells You which control currently has the input focus. |
When adding a <code>FocusListener</code> to a control, it will be notified about <code>focusLost</code> and <code>focusGained</code> events. | When adding a <code>FocusListener</code> to a control, it will be notified about <code>focusLost</code> and <code>focusGained</code> events. | ||
|} | |} |
Revision as of 13:10, 1 March 2007
| 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.
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
|
RWT
ModifyEvent | RWT now supports the ModifyEvent . The two widgets that benefit from this are Text and Spinner .
Though implementing a Text text = new Text( parent, RWT.SINGLE ); text.addModifyListener( new ModifyListener() { public void modifyText( ModifyEvent event ) { // update model with changed text } } ); |
Spinner | Now there exists a Spinner widget that works much the same as in SWT.
|
Default Button | The default button was implemented, that You can now tell the Shell which of its buttons should behave as the default button. Just to have something to write for the next milestone news, the default button is not yet highlighted;)
For dependent Shells (those created with the |
Double click | For List , Tree , and CTabFolder RWT now recognizes a double-click that is reported via the widgetDefaultSelected method of the SelectionEvent .
If You doubt the authenticity of the screenshot You are free to try it out yourself with the online-demo. File:RapDoubleClick.png |
Focus control and FocusEvent | In this development cycle we also put our focus on the focus. Though not yet complete in all aspects, the methods setFocus , forceFocus , and isFocusControl of the Control class allow You to focus a control and query whether the control has the input focus. The getFocusControl on class Display tells You which control currently has the input focus.
When adding a |