package org.tigris.subversion.subclipse.ui.subscriber;

import org.eclipse.compare.structuremergeviewer.IDiffElement;
import org.eclipse.team.core.synchronize.FastSyncInfoFilter;
import org.eclipse.team.core.synchronize.SyncInfo;
import org.eclipse.team.core.synchronize.FastSyncInfoFilter.SyncInfoDirectionFilter;
import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration;
import org.eclipse.team.ui.synchronize.SynchronizeModelAction;
import org.eclipse.team.ui.synchronize.SynchronizeModelOperation;

public class GenerateDiffFileSynchronizeAction extends SynchronizeModelAction {

	public GenerateDiffFileSynchronizeAction(String text, ISynchronizePageConfiguration configuration) {
		super(text, configuration);
	}	
	
	protected FastSyncInfoFilter getSyncInfoFilter() {
		return new SyncInfoDirectionFilter(new int[] {SyncInfo.OUTGOING});
	}	
	
	protected SynchronizeModelOperation getSubscriberOperation(ISynchronizePageConfiguration configuration, IDiffElement[] elements) {
		return new GenerateDiffFileSynchronizeOperation(configuration, elements);
	}

}

@@ -844,16 +844,39 @@
 OUTGOING
+, SyncInfo.CONFLICTING 
 %7D);%0A%09%7D%09%0A

Allow Create Patch for conflicted resources from Synch view. Issue #: 503