| /***************************************************************************** |
| * Copyright (c) 2018 CEA LIST. |
| * |
| * 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: |
| * Arnault Lapitre (CEA LIST) arnault.lapitre@cea.fr |
| * - Initial API and implementation |
| * |
| ****************************************************************************** |
| * Generated by Xtext 2.25.0 |
| *****************************************************************************/ |
| package org.eclipse.efm.sew.xtext.validation; |
| |
| import java.util.ArrayList; |
| import java.util.List; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.xtext.validation.AbstractDeclarativeValidator; |
| |
| public abstract class AbstractSEWValidator extends AbstractDeclarativeValidator { |
| |
| @Override |
| protected List<EPackage> getEPackages() { |
| List<EPackage> result = new ArrayList<EPackage>(); |
| result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/efm/SEW")); |
| result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/efm/SEW/Expression")); |
| return result; |
| } |
| } |