1 11 package org.eclipse.team.internal.ccvs.ui.subscriber; 12 13 import org.eclipse.compare.structuremergeviewer.IDiffElement; 14 import org.eclipse.team.core.synchronize.FastSyncInfoFilter; 15 import org.eclipse.team.core.synchronize.SyncInfo; 16 import org.eclipse.team.core.synchronize.FastSyncInfoFilter.SyncInfoDirectionFilter; 17 import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration; 18 import org.eclipse.team.ui.synchronize.SynchronizeModelOperation; 19 20 25 public class OverrideAndUpdateAction extends CVSParticipantAction { 26 27 public OverrideAndUpdateAction(ISynchronizePageConfiguration configuration) { 28 super(configuration); 29 } 30 31 34 protected FastSyncInfoFilter getSyncInfoFilter() { 35 return new SyncInfoDirectionFilter(new int[] {SyncInfo.CONFLICTING, SyncInfo.OUTGOING}); 36 } 37 38 protected SynchronizeModelOperation getSubscriberOperation(ISynchronizePageConfiguration configuration, IDiffElement[] elements) { 39 return new OverrideAndUpdateSubscriberOperation(configuration, elements); 40 } 41 } 42 | Popular Tags |