Package org.eclipse.egit.ui.internal.history

Examples of org.eclipse.egit.ui.internal.history.CommitFileDiffViewer


        UIText.StashEditorPage_StagedChanges, Integer.valueOf(0));
    stagedDiffSection.setText(sectionTitle);
    Composite unstagedChangesArea = createSectionClient(
        stagedDiffSection, toolkit);

    stagedDiffViewer = new CommitFileDiffViewer(unstagedChangesArea,
        getSite(), SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL
            | SWT.FULL_SELECTION | toolkit.getBorderStyle());
    stagedDiffViewer.getTable().setData(FormToolkit.KEY_DRAW_BORDER,
        FormToolkit.TREE_BORDER);
    GridDataFactory.fillDefaults().grab(true, true)
View Full Code Here


  void createDiffArea(Composite parent, FormToolkit toolkit, int span) {
    diffSection = createSection(parent, toolkit, span);
    diffSection.setText(UIText.CommitEditorPage_SectionFilesEmpty);
    Composite filesArea = createSectionClient(diffSection, toolkit);

    diffViewer = new CommitFileDiffViewer(filesArea, getSite(), SWT.MULTI
        | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION
        | toolkit.getBorderStyle());
    diffViewer.getTable().setData(FormToolkit.KEY_DRAW_BORDER,
        FormToolkit.TREE_BORDER);
    GridDataFactory.fillDefaults().grab(true, true)
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.history.CommitFileDiffViewer

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.