blob: bc28c0193c7ebec9ec2d007e6ee47771a1d0b6d6 [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.ISDysfunctionalAssociation;
/**
* Class to match the {@link org.eclipse.emf.ecore.EObject}s against a client context
* ({@link ISDysfunctionalAssociation}).
*
* @author $Author: ymunoz $
* @version $Revision: 168 $
*/
public class SDysfunctionalAssociationSelector
implements IClientSelector {
/**
* Default constructor.
*/
public SDysfunctionalAssociationSelector() {
}
/**
* {@inheritDoc}
*/
@Override
public boolean selects(final Object pObject) {
return pObject instanceof ISDysfunctionalAssociation;
}
}