Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Toggle View in Eclipse(Toggle View in Eclipse)
Toggle View in Eclipse [message #631429] Thu, 07 October 2010 10:22
Eclipse UserFriend
what is the best practice to toggle a view in eclipse?

I am aware of these APIs which show and hide the view.
But the issue here is hideView completely closes the view and also disposes all the controls So whenever I call ShowView the whole UI gets re-created again.

PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().showView(viewID );
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().hideView(IViewPart);


I just want to "Toggle" a view
Previous Topic:RCP Application crash
Next Topic:Dynamic Jface tree Implementation
Goto Forum:
  


Current Time: Mon Jul 07 08:55:23 EDT 2025

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

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

Back to the top