I have programmatically detached a view from eclipse. now I want to attach it back. What is the best efficient way to do that.
The matching operation for detach(*)
is org.eclipse.e4.ui.workbench.modeling.EModelService.insert(MPartSashContainerElement, MPartSashContainerElement, int, float)
.
The only working example I found was in the DND support SplitDropAgent, but it's not easy to read. I suspect you need to find the part that you have previously detached.