1 11 package org.eclipse.team.internal.ccvs.core.client; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 import org.eclipse.team.internal.ccvs.core.CVSException; 15 import org.eclipse.team.internal.ccvs.core.ICVSResource; 16 17 public class SyncUpdate extends Update { 18 19 public SyncUpdate() { }; 20 21 24 protected void sendFileStructure(Session session, ICVSResource[] resources, 25 LocalOption[] localOptions, boolean emptyFolders, IProgressMonitor monitor) throws CVSException { 26 27 checkResourcesManaged(session, resources); 28 new FileStructureVisitor(session, localOptions, emptyFolders, true, false).visit(session, resources, monitor); 29 } 30 31 34 protected boolean isWorkspaceModification() { 35 return false; 37 } 38 39 42 protected GlobalOption[] filterGlobalOptions(Session session, GlobalOption[] globalOptions) { 43 if (! Command.DO_NOT_CHANGE.isElementOf(globalOptions)) { 45 globalOptions = Command.DO_NOT_CHANGE.addToEnd(globalOptions); 46 } 47 return super.filterGlobalOptions(session, globalOptions); 48 } 49 50 } 51 | Popular Tags |