Correct reference to EPL in source headers
[egit/chris.git] / org.eclipse.egit.ui / src / org / eclipse / egit / ui / internal / actions / AssumeUnchanged.java
blobbfbaf6cfc2cb30cd90d2e41e722cd1960459c6ce
1 /*******************************************************************************
2 * Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com>
3 * Copyright (C) 2006, Shawn O. Pearce <spearce@spearce.org>
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
9 *******************************************************************************/
10 package org.eclipse.egit.ui.internal.actions;
12 import java.util.List;
14 import org.eclipse.core.resources.IWorkspaceRunnable;
15 import org.eclipse.egit.core.op.AssumeUnchangedOperation;
16 import org.eclipse.jface.action.IAction;
18 /**
19 * This operation sets the assume-valid bit in the index for the
20 * selected resources.
22 * @see AssumeUnchangedOperation
24 public class AssumeUnchanged extends AbstractOperationAction {
25 protected IWorkspaceRunnable createOperation(final IAction act,
26 final List sel) {
27 return sel.isEmpty() ? null : new AssumeUnchangedOperation(sel);