blob: cbc2c31dcf04dbeb74df8513e602c128a51e72b0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 ALL4TEC & CEA LIST.
* 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:
* ALL4TEC & CEA LIST - initial API and implementation
******************************************************************************/
package org.polarsys.esf.localanalysis.profile.validation.selectors;
import org.eclipse.emf.validation.model.IClientSelector;
import org.polarsys.esf.esflocalanalysis.ISPropagationLink;
/**
* Class to match the {@link org.eclipse.emf.ecore.EObject}s against a client context
* ({@link ISPropagationLink}).
*
* @author $Author: ymunoz $
* @version $Revision: 168 $
*/
public class SPropagationLinkSelector
implements IClientSelector {
/**
* Default constructor.
*/
public SPropagationLinkSelector() {
}
/**
* {@inheritDoc}
*/
@Override
public boolean selects(final Object pObject) {
return pObject instanceof ISPropagationLink;
}
}