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 "Rap10M4 News"

(RAP Workbench)
(Replaced content with "This page was obsolete and has been deleted. Please see the history if you need to access the content.")
 
(47 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
+
This page was obsolete and has been deleted. Please see the history if you need to access the content.
| [[RAP|RAP wiki home]] | [http://eclipse.org/rap 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 [http://www.eclipse.org/rap/cvs.php CVS] HEAD.
+
 
+
 
+
==RAP Workbench==
+
{|
+
|-valign="top" align="left"
+
|width="20%"|'''Support for opening/closing workbench parts'''
+
|width="80%"|
+
 
+
You have now several possibilities to open a new view without initially defining it in your perspective.
+
On the one side, you can use <code>WorkbenchPage#showView("your.view.id")</code> 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 <code>ContributionItemFactory.VIEWS_SHORTLIST.create(IWorkbenchWindow);</code>
+
to get a list of all view shortcuts of the current perspective which can be used in a <code>MenuManager</code>.
+
But don't forget to add the commonly used views as shortcuts to your perspective
+
(see <code>IPageLayout#addShowViewShortcut("your.view.id")</code>.
+
 
+
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 <code>category</code> attribute in your view extension.
+
 
+
[[Image:RapShowViewDlg.png]]
+
 
+
|-valign="top" align="left"
+
|width="20%"|'''Move extension points to org.eclipse.ui namespace'''
+
|width="80%"|
+
To provide as much as possible reuse of RCP knowledge (and code) RAP provides now its workbench extension-points under the same namespace as the RCP workbench does. This is the second step of moving RAP to a subset of RCP regarding RCP-like functionality. Note that you must adjust your existing plugin.xml files like the example below:
+
 
+
[[Image:RapExtensionPoint.png]]
+
 
+
|}
+
 
+
 
+
 
+
The above features are just the ones that are new since the previous milestone build. Summaries for earlier milestone builds:
+
 
+
[[Rap10M3_News|New for RAP 1.0 milestone build M3 (April 27, 2007)]]<br />
+
[[Rap10M2_News|New for RAP 1.0 milestone build M2 (March 2, 2007)]]
+

Latest revision as of 07:12, 8 January 2014

This page was obsolete and has been deleted. Please see the history if you need to access the content.

Back to the top