Search in sources :

Example 1 with ObjectEditorPageControl

use of org.jkiss.dbeaver.ui.controls.ObjectEditorPageControl in project dbeaver by serge-rider.

the class ObjectPropertiesEditor method createPartControl.

@Override
public void createPartControl(Composite parent) {
    // Add lazy props listener
    //PropertiesContributor.getInstance().addLazyListener(this);
    pageControl = new ObjectEditorPageControl(parent, SWT.SHEET, this);
    pageControl.setShowDivider(true);
    Composite container = new Composite(pageControl, SWT.NONE);
    GridLayout gl = new GridLayout(1, false);
    gl.verticalSpacing = 5;
    gl.horizontalSpacing = 0;
    gl.marginHeight = 0;
    gl.marginWidth = 0;
    container.setLayout(gl);
    container.setLayoutData(new GridData(GridData.FILL_BOTH));
    pageControl.createProgressPanel();
    createPropertyBrowser(container);
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) ObjectEditorPageControl(org.jkiss.dbeaver.ui.controls.ObjectEditorPageControl) GridData(org.eclipse.swt.layout.GridData)

Aggregations

GridData (org.eclipse.swt.layout.GridData)1 GridLayout (org.eclipse.swt.layout.GridLayout)1 Composite (org.eclipse.swt.widgets.Composite)1 ObjectEditorPageControl (org.jkiss.dbeaver.ui.controls.ObjectEditorPageControl)1