Hello,
I have a view in Eclipse (implemented by a class which extends org.eclipse.ui.part.ViewPart
) which I need to close. I mean completely close, not just hide. I want a new ViewPart instance to be created when the user (or my code) asks to open the view again.
The only method I found was IWorkbenchPage.hideView
which hides the view, but does not completely dispose of it. Invoking dispose
on the view has no affect, either.
BTW, my view is defined as allowMultiple="false"
but I tried with true
and that didn't make any difference.
Any help will be appreciated.