// Temporarily use the same appearance as docked views .. eventually, fastviews will
// be independently pluggable.
AbstractPresentationFactory factory = ((WorkbenchWindow) pane
.getWorkbenchWindow()).getWindowConfigurer()
.getPresentationFactory();
StackPresentation presentation = factory.createViewPresentation(
newClientComposite, site);
site.setPresentation(presentation);
site.setPresentationState(IStackPresentationSite.STATE_RESTORED);
presentation.addPart(currentPane, null);
presentation.selectPart(currentPane);
presentation.setActive(StackPresentation.AS_ACTIVE_FOCUS);
presentation.setVisible(true);
boolean horizontalResize = Geometry.isHorizontal(side);
minSize = presentation.computePreferredSize(horizontalResize,
ISizeProvider.INFINITE,
Geometry.getDimension(getClientArea(), horizontalResize),
0);
// Show pane fast.