Skip to main content
Jump to: navigation, search

Rap10M4 News

Revision as of 03:51, 7 May 2007 by (Talk | contribs) (RAP 1.0 M4 - New and Noteworthy)

| RAP wiki home | RAP project home |

RAP 1.0 M4 - 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.

All features documented here can be obtained from CVS HEAD.

RAP Workbench

Support for opening/closing workbench parts

You have now several possibilities to open a new view without initially defining it in your perspective. On the one side, you can use WorkbenchPage#showView("") to show the view. All necessary data gets loaded from the server automatically.

Another way is - like you know it from the Eclipse Workbench - to use the "Show View" menu. To implement it in your RAP application, use ContributionItemFactory.VIEWS_SHORTLIST.create(IWorkbenchWindow); to get a list of all view shortcuts of the current perspective which can be used in a MenuManager. But don't forget to add the commonly used views as shortcuts to your perspective (see IPageLayout#addShowViewShortcut("").

For all the views without a shortcut, there is a "Other..." item appended to the end of the list to display the so loved "Show View" dialog where you can browse all available views. HINT: Now you can also categorize your views - just define the category attribute in your view extension.


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 M3 (April 27, 2007)
New for RAP 1.0 milestone build M2 (March 2, 2007)

Back to the top