As this is a basic prerequisite for disabling workbench actions, [[8_Tool_Bars_and_Menus|ToolItem ]]and [[8_Tool_Bars_and_Menus#Classes_Menu_and_MenuItem|MenuItem]] now implement the <code>setEnabled,</code> <code>getEnabled</code> and <code>isEnabled</code> methods.

+

As this is a basic prerequisite for disabling workbench actions, [[8_Tool_Bars_and_Menus|ToolItem]] and [[8_Tool_Bars_and_Menus#Classes_Menu_and_MenuItem|MenuItem]] now implement the <code>setEnabled,</code> <code>getEnabled</code> and <code>isEnabled</code> methods.

In addition, the ToolItem can now show tool tips.

In addition, the ToolItem can now show tool tips.

Line 31:

Line 31:

|-valign="top" align="left"

|-valign="top" align="left"

|'''MenuListener'''

|'''MenuListener'''

−

|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.

+

|[[8_Tool_Bars_and_Menus|MenuListener]]s can now be added to [[8_Tool_Bars_and_Menus|Menus]] to process actions before a menu shows up and after it is hidden. While the <code>menuShown</code> 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.

[[Image:RAPFileMenu-pre.png]]

[[Image:RAPFileMenu-pre.png]]

[[Image:RAPFileMenu.png]]

[[Image:RAPFileMenu.png]]

−

|}

|}

Line 40:

Line 39:

{|

{|

|-valign="top" align="left"

|-valign="top" align="left"

−

|width="20%"|'''ComboViewer'''

+

|width="20%"|'''ComboViewer'''

|width="80%"|The <code>ComboViewer</code> is now implemented (or rather copied from JFace:). It is a concrete viewer based on an RWT <code>[[7_Basic_Controls#Class_Combo|Combo]]</code> control.

|width="80%"|The <code>ComboViewer</code> is now implemented (or rather copied from JFace:). It is a concrete viewer based on an RWT <code>[[7_Basic_Controls#Class_Combo|Combo]]</code> control.

+

+

|-valign="top" align="left"

+

|width="20%"|'''IMenuListener'''

+

|width="80%"|<code>IMenuListener</code> implementations can now be added to a <code>MenuManager</code>.

RWT

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

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

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.

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.

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.

The above features are just the ones that are new since the previous milestone build.