|Toggle View in Eclipse [message #631429]
||Thu, 07 October 2010 14:22
| Anthony Ghonsalves
Registered: October 2010
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 );
I just want to "Toggle" a view
Powered by FUDForum
. Page generated in 0.02375 seconds