Community
Participate
Working Groups
Build ID: M20060921-0945 Steps To Reproduce: 1.Create two perspectives, one view and one action for detaching view(optionally one can use perspective change). 2. Attach view as standalone view in a perspective with (boolean showTitle=false) 3. under action performed do the programatic detachment IWorkbenchPage workbenchPage = workbenchWindow.getActivePage(); IViewReference viewReference = workbenchPage.findViewReference("viewId"); ((WorkbenchPage) workbenchWindow.getActivePage()).detachView((IViewReference) workbenchPage.getReference(viewReference.getView(true))); Intially you will get your view in the perspective without title. thats okay. This will open the view in detached window with title and after closing detached window, it will restore the perspective and view is show over there.But this time it will title bar. That i don't expect. More information: What I want to do. 1. I want do detach a view programatially and API is still part of internal package. 2. I don't want the title bar(view tab) for my view this I can do by overriding org.eclipse.ui.internal.DetachedWindow for the same I need either some simple API for removing title bar or make two APIs public in the next build. a. org.eclipse.ui.internal.WorkbenchWindow.getDetachedWindowPool() b. org.eclipse.ui.internal.PartStack.getPresentation
I have added one standloneview in perspective with (boolean showTitle=false). now detaching view programatically is detaching view from workbench and close operation is reattaching view in the perspective but this time Title is again reappearing.
*** This bug has been marked as a duplicate of bug 110634 ***