Package org.eclipse.compare.patch

Examples of org.eclipse.compare.patch.ApplyPatchOperation


      } catch (CoreException e) {
        Activator.handleError(e.getMessage(), e, false);
      }
    }

    final ApplyPatchOperation op;
    if (isPatch) {
      op = new ApplyPatchOperation(HandlerUtil.getActivePart(event),
          (IFile) resource, null, new CompareConfiguration());
    } else {
      op = new ApplyPatchOperation(HandlerUtil.getActivePart(event),
          resource);
    }
    BusyIndicator.showWhile(Display.getDefault(), op);
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.compare.patch.ApplyPatchOperation

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.