Difference between revisions of "Rap10M5 News"

From Eclipsepedia

Jump to: navigation, search
(New page: __NOTOC__ | RAP wiki home | [http://eclipse.org/rap RAP project home] | ===RAP 1.0 M5 - New and Noteworthy=== This document will become the New and Noteworthy page for the next mi...)
 
(added first new item :))
Line 7: Line 7:
 
All features documented here can be obtained from [http://www.eclipse.org/rap/cvs.php CVS] HEAD.
 
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%"|'''DrillDownAdapter'''
 +
|width="80%"|
  
 +
Drilldown Adapters are a feature available for TreeViewers to help navigate through the data, instead of having to deal with ever expanding trees. In this way you can essentially zoom in to view just one part of the tree, i.e., drill down. Only two lines of code were added throughout the initialization of the viewer to invoke this feature in the context menu. Only one line was needed to add them to the view's toolbar. They are shown below:
 +
 +
<pre>
 +
// Create the Drill Down Adapter
 +
drillDownAdapter = new DrillDownAdapter(viewer);
 +
 +
// Add the options to the view's toolbar (IToolBarManager)
 +
drillDownAdapter.addNavigationActions(manager);
 +
</pre>
 +
 +
After adding them to the IToolbarManager of your view, they are looking like this:
 +
 +
[[Image:RAPDrillDownAdapter.png]]
 +
|}
  
  

Revision as of 05:22, 11 June 2007

| RAP wiki home | RAP project home |

RAP 1.0 M5 - 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

DrillDownAdapter

Drilldown Adapters are a feature available for TreeViewers to help navigate through the data, instead of having to deal with ever expanding trees. In this way you can essentially zoom in to view just one part of the tree, i.e., drill down. Only two lines of code were added throughout the initialization of the viewer to invoke this feature in the context menu. Only one line was needed to add them to the view's toolbar. They are shown below:

// Create the Drill Down Adapter
drillDownAdapter = new DrillDownAdapter(viewer);

// Add the options to the view's toolbar (IToolBarManager)
drillDownAdapter.addNavigationActions(manager);

After adding them to the IToolbarManager of your view, they are looking like this:

RAPDrillDownAdapter.png


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