Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e2eb1e215df184f57d6199de788a12b34c37fac8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.eclipse.papyrus.infra.table.efacet.queries;

import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
import org.eclipse.papyrus.infra.table.efacet.metamodel.papyrustable.PapyrusTable;

/** Return the name for the table */
public class GetTableName implements IJavaModelQuery<PapyrusTable, String> {

	public String evaluate(final PapyrusTable context, final ParameterValueList parameterValues) throws ModelQueryExecutionException {
		return context.getName() + " (new)";
	}
}

Back to the top