Package org.eclipse.compare

Examples of org.eclipse.compare.CompareViewerPane


    Composite  composite = (Composite) super.createDialogArea(parent);
    GridLayout layout = new GridLayout();
    layout.numColumns = 1;
    composite.setLayout(layout);

    CompareViewerPane pane = new CompareViewerPane(composite, SWT.BORDER | SWT.FLAT);
    pane.setText(fTestName);
    GridData data = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
    data.widthHint = convertWidthInCharsToPixels(120);
    data.heightHint = convertHeightInCharsToPixels(13);
    pane.setLayoutData(data);

    Control previewer = createPreviewer(pane);
    pane.setContent(previewer);
    GridData gd = new GridData(GridData.FILL_BOTH);
    previewer.setLayoutData(gd);
    applyDialogFont(parent);

    return composite;
View Full Code Here

TOP

Related Classes of org.eclipse.compare.CompareViewerPane

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.