diff options
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java')
-rw-r--r-- | extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java new file mode 100644 index 00000000000..28fbe5a12af --- /dev/null +++ b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java @@ -0,0 +1,33 @@ +/***************************************************************************** + * Copyright (c) 2010 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.marte.vsl.validation; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.validation.AbstractDeclarativeValidator; +import org.eclipse.xtext.validation.ComposedChecks; + +@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) +public class AbstractVSLJavaValidator extends AbstractDeclarativeValidator { + +@Override + protected List<EPackage> getEPackages() { + List<EPackage> result = new ArrayList<EPackage>(); + result.add(org.eclipse.papyrus.marte.vsl.vSL.VSLPackage.eINSTANCE); + return result; + } + +} |