Search in sources :

Example 1 with ToolbarOutputZone

use of org.talend.designer.dbmap.ui.visualmap.zone.toolbar.ToolbarOutputZone in project tdi-studio-se by Talend.

the class OutputsZone method createHeaderZoneComponents.

public void createHeaderZoneComponents() {
    toolbar = new ToolbarOutputZone(this, SWT.BORDER, this.mapperManager);
    Composite toolBarComposite = toolbar.getComposite();
    toolBarComposite.setBackgroundMode(SWT.INHERIT_NONE);
    toolBarComposite.setBackground(toolBarComposite.getDisplay().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
    GridData gridDataToolbar = new GridData(GridData.FILL_HORIZONTAL);
    toolBarComposite.setLayoutData(gridDataToolbar);
    gridDataToolbar.grabExcessHorizontalSpace = true;
}
Also used : Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) ToolbarOutputZone(org.talend.designer.dbmap.ui.visualmap.zone.toolbar.ToolbarOutputZone)

Aggregations

GridData (org.eclipse.swt.layout.GridData)1 Composite (org.eclipse.swt.widgets.Composite)1 ToolbarOutputZone (org.talend.designer.dbmap.ui.visualmap.zone.toolbar.ToolbarOutputZone)1