rich client 2.0

Extending QuickAccess - Or how to implement my own CTRL+3


15. October 2007
Tom Seidel @ 09:52

Ctr+3 Popup known from the SDKThe implementation of the “Ctrl+3″ popup was an undisputed enhancement for more usability. It enables a much faster navigation through all the browsable items you may have in your Workbench. A much more interesting topic is how to adopt this widget in order to be extended, restricted and customized. This is especially usefull for RCP Development to hide and add elements. However, there is currently no way to customize the contents of the quick access popup.
The following article provides instructions for an implementation of a fully customizable popup with the known behaviour. The content is contributed using an extra Extension-Point (no bundle-activation required).

Usage

I have implemented a small bundle with an Extension-Point definition that allows you to create a custom popup with the content other plug-ins contribute using Extension-Point. The implementation is as easy as defining a new command. Just create a new category or a new element in your plugin.xml and that’s it. Unfortunately the code for creating the popup is copied from the platform, see Bug 162006 and Bug 204356.

Screenshots

Defined popup-content in the plugin.xml
Defined content in the plugin.xml
Result-Popup (accessible with Ctrl+4)
Result popup (accessible with Ctrl+4)

Downloads

Download the Example as RCP (12 Mbyte - Source included)
Download the Bundle (50 Kbyte - Source included)
cvs_persp.gif CVS-Checkout (more info)

  • cvs_persp.gif de.spiritlink.quickaccess
  • cvs_persp.gif de.spiritlink.quickaccess.rcp

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress