you can always show /hide views using the active Page (IWorkbenchpage)

To get it your application must be up and running.
After getting the activePage you just need to call showView() or hideView() using the ViewId (see code below). The same will work for editors using corresponding methods.