/******************************************************************************* * Copyright (c) 2005-2008 Polarion Software. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Alexei Goncharov (Polarion Software) - initial API and implementation * Igor Burilo - Bug 245509: Improve extract log *******************************************************************************/ package org.eclipse.team.svn.ui.synchronize.action; import org.eclipse.compare.structuremergeviewer.IDiffElement; import org.eclipse.team.core.synchronize.FastSyncInfoFilter; import org.eclipse.team.svn.core.operation.IActionOperation; import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration; /** * Incoming Extract To action for Synchronize View * * @author Alexei Goncharov */ public class ExtractIncomingToAction extends AbstractSynchronizeModelAction { protected ExtractIncomingToActionHelper actionHelper; public ExtractIncomingToAction(String text, ISynchronizePageConfiguration configuration) { super(text, configuration); this.actionHelper = new ExtractIncomingToActionHelper(this, configuration); } protected boolean needsToSaveDirtyEditors() { return false; } protected FastSyncInfoFilter getSyncInfoFilter() { return this.actionHelper.getSyncInfoFilter(); } protected IActionOperation getOperation(ISynchronizePageConfiguration configuration, IDiffElement[] elements) { return this.actionHelper.getOperation(); } }