blob: db3d55b0a2886c260cad6786bdcbd118ca38b649 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.internal.ccvs.core;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.team.ResourceRuleFactory;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
public class CVSResourceRuleFactory extends ResourceRuleFactory {
public ISchedulingRule validateEditRule(IResource[] resources) {
return CVSTeamProvider.internalGetFileModificationValidator().validateEditRule(this, resources);
}
public ISchedulingRule getParent(IResource resource) {
return parent(resource);
}
}