blob: 068f72821cc1148cb780613d0838763e4bcc7380 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.runtime.common.ui.services.internal.elementselection;
import org.eclipse.gmf.runtime.common.core.service.IProvider;
import org.eclipse.gmf.runtime.common.ui.services.elementselection.IElementSelectionInput;
import org.eclipse.gmf.runtime.common.ui.services.elementselection.IMatchingObjectsOperation;
/**
* The matching objects operation used by the element selection service.
*
* @author Anthony Hunter
*/
public class MatchingObjectsOperation
implements IMatchingObjectsOperation {
/**
* the element selection input.
*/
private IElementSelectionInput input;
/**
* Constructor for a MatchingObjectsOperation
*
* @param input
* the element selection input.
*/
public MatchingObjectsOperation(IElementSelectionInput input) {
super();
this.input = input;
}
/**
* {@inheritDoc}
*/
public IElementSelectionInput getElementSelectionInput() {
return input;
}
public Object execute(IProvider provider) {
assert true : "MatchingObjectsOperation.execute() should not be executed"; //$NON-NLS-1$
return null;
}
}