@@ -0,0 +1,1406 @@
+package com.codenvy.ide.ext.datasource.client.common;%0A%0Aimport com.codenvy.ide.api.mvp.View;%0Aimport com.codenvy.ide.api.parts.PartStackUIResources;%0Aimport com.google.gwt.dom.client.Style;%0Aimport com.google.gwt.user.client.ui.Composite;%0Aimport com.google.gwt.user.client.ui.DockLayoutPanel;%0Aimport com.google.gwt.user.client.ui.LayoutPanel;%0A%0Apublic abstract class ViewWithToolbar%3CT%3E extends Composite implements View%3CT%3E %7B%0A%0A    private final LayoutPanel     toolBar;%0A    private final DockLayoutPanel container;%0A    private T                     delegate;%0A%0A    public ViewWithToolbar(final PartStackUIResources resources) %7B%0A        container = new DockLayoutPanel(Style.Unit.PX);%0A        initWidget(container);%0A        container.setSize(%22100%25%22, %22100%25%22);%0A        toolBar = new LayoutPanel();%0A        toolBar.addStyleName(resources.partStackCss().ideBasePartToolbar());%0A        container.addNorth(toolBar, 20);%0A%0A        // this hack used for adding box shadow effect to toolbar%0A        toolBar.getElement().getParentElement().getStyle().setOverflow(Style.Overflow.VISIBLE);%0A    %7D%0A%0A    /** %7B@inheritDoc%7D */%0A    @Override%0A    public void setDelegate(T delegate) %7B%0A        this.delegate = delegate;%0A    %7D%0A%0A    public T getDelegate() %7B%0A        return delegate;%0A    %7D%0A%0A    public DockLayoutPanel getContainer() %7B%0A        return container;%0A    %7D%0A%0A    public LayoutPanel getToolBar() %7B%0A        return toolBar;%0A    %7D%0A%7D%0A

Add view with a toolbar (but without minimize button as in BaseView)