class AbstractMultiPartWorkbenchPanelPresenter extends AbstractDockingWorkbenchPanelPresenter<P> {

    public ContextActivity resolveContext(final PartDefinition part) {
        ContextActivity result = perspectiveContext;
        if (panelContext != null) {
            result = panelContext;
        }
        if (contextActivities.containsKey(part)) {
            result = contextActivities.get(part);
        }
        return result;
    }

    protected  AbstractMultiPartWorkbenchPanelPresenter(final WorkbenchPanelView<P> view,
                                                       final ActivityManager activityManager,
                                                       final PerspectiveManager perspectiveManager);

}