Examples of DiffNode


Examples of org.eclipse.compare.structuremergeviewer.DiffNode

    compareConfiguration.setRightLabel(ResourceUtil.getString("CompareResultDialog.actualLabel")); //$NON-NLS-1$
    compareConfiguration.setRightEditable(false);
    compareConfiguration.setProperty(CompareConfiguration.IGNORE_WHITESPACE, Boolean.FALSE);

    fViewer = new CompareResultMergeViewer(parent, SWT.NONE, compareConfiguration);
    fViewer.setInput(new DiffNode(new CompareElement(fExpected), new CompareElement(fActual)));

    Control control = fViewer.getControl();
    control.addDisposeListener(new DisposeListener() {
        public void widgetDisposed(DisposeEvent e) {
          if(compareConfiguration != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.