blob: 1c1fb88e31e570c58bdde258452b09ddfecd1c91 [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2019 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Yupanqui Munoz (CEA LIST) yupanqui.munozjulho@cea.fr - Initial API and implementation
* Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
*****************************************************************************/
package org.eclipse.papyrus.model2doc.documentview.modelexplorer.internal.query;
import java.util.Collections;
import java.util.List;
import org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager;
import org.eclipse.papyrus.emf.facet.efacet.core.exception.DerivedTypedElementException;
import org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2;
import org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2;
import org.eclipse.papyrus.model2doc.documentview.Document;
/**
* Query to retrieve the visible references of corresponding document.
*
*/
public class GetVisibleReferencesQuery implements IJavaQuery2<Document, List<Object>> {
/**
* @see org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2#evaluate(org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2, org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager)
*
* @param context
* @param parameterValues
* @param facetManager
* @return
* return empty list of visible references.
* @throws DerivedTypedElementException
*/
@Override
public List<Object> evaluate(final Document context, final IParameterValueList2 parameterValues, final IFacetManager facetManager) throws DerivedTypedElementException {
return Collections.emptyList();
}
}