Package org.eclipse.egit.core.op

Examples of org.eclipse.egit.core.op.AssumeUnchangedOperation


public class NoAssumeUnchangedActionHandler extends RepositoryActionHandler {
  public Object execute(ExecutionEvent event) throws ExecutionException {
    IResource[] resources = getSelectedResources(event);
    if (resources.length == 0)
      return null;
    AssumeUnchangedOperation op = new AssumeUnchangedOperation(Arrays
        .asList(resources), false);
    JobUtil.scheduleUserJob(op, UIText.AssumeUnchanged_assumeUnchanged,
        JobFamilies.ASSUME_NOASSUME_UNCHANGED);
    return null;
  }
View Full Code Here


public class AssumeUnchangedActionHandler extends RepositoryActionHandler {
  public Object execute(ExecutionEvent event) throws ExecutionException {
    IResource[] resources = getSelectedResources(event);
    if (resources.length == 0)
      return null;
    AssumeUnchangedOperation op = new AssumeUnchangedOperation(Arrays
        .asList(resources), true);
    JobUtil.scheduleUserJob(op, UIText.AssumeUnchanged_assumeUnchanged,
        JobFamilies.ASSUME_NOASSUME_UNCHANGED);
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.op.AssumeUnchangedOperation

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.