Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Auto Hide/show Navigator
Auto Hide/show Navigator [message #463395] Sat, 10 February 2007 05:58 Go to next message
Eclipse UserFriend
Hi;

There is a navigator to chose some application in my RCP program. I want to
make show this navigator when mouse on it. If mouse not on it, the navigator
will be hide automaticly.

How can I do this?

For example The GEF Pallette is working this like

Thank you
Re: Auto Hide/show Navigator [message #463453 is a reply to message #463395] Mon, 12 February 2007 08:55 Go to previous message
Eclipse UserFriend
if it's hidden, how can your mouse be over it? :-)

I would first try fast views (or the new min/max behaviour in the 3.3
presentation, if you're on 3.3). Fast views only appear when you click
on their icon in the trim area.

The "next" option would be to have a mouse-listener on whatever target
you want, and then use IWorkbenchPage showView/hideView ... the downside
is that this will potentially destroy/recreate the view.

Or try and mix them. Make it a fast view, and then use IWorkbenchPage
activate(*) to make it appear when you want.

Later,
PW
Previous Topic:Change path Product configuration files
Next Topic:Extensions and multi plug-in RCP app
Goto Forum:
  


Current Time: Thu Mar 27 17:11:14 EDT 2025

Powered by FUDForum. Page generated in 0.02999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top