blob: f5414413f19ff794ad73227504841a52dde8db78 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 Mia-Software.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Nicolas Bros (Mia-Software) - initial API and implementation
*******************************************************************************/
package org.eclipse.modisco.infra.query.tests.samples;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.modisco.infra.query.core.exception.ModelQueryExecutionException;
import org.eclipse.modisco.infra.query.core.java.IJavaModelQuery;
import org.eclipse.modisco.infra.query.core.java.ParameterValueList;
public class Scope implements IJavaModelQuery<EClass, Boolean> {
public Boolean evaluate(final EClass context, final ParameterValueList parameterValues)
throws ModelQueryExecutionException {
return Boolean.TRUE;
}
}