InformationPresenter presenter = new InformationPresenter(
getHierarchyPresenterControlCreator());
presenter
.setDocumentPartitioning(getConfiguredDocumentPartitioning(viewer));
presenter.setAnchor(AbstractInformationControlManager.ANCHOR_GLOBAL);
IInformationProvider provider = new PHPInformationHierarchyProvider(
viewer.getTextEditor(), doCodeResolve);
presenter.setInformationProvider(provider,
PHPPartitionTypes.PHP_DEFAULT);
presenter.setSizeConstraints(50, 20, true, false);
return presenter;