package at.bestsolution.efxclipse.tooling.fxgraph.validation; import java.util.ArrayList; import java.util.List; import org.eclipse.emf.ecore.EPackage; import org.eclipse.xtext.xbase.validation.XbaseJavaValidator; public class AbstractFXGraphJavaValidator extends XbaseJavaValidator { @Override protected List<EPackage> getEPackages() { List<EPackage> result = new ArrayList<EPackage>(); result.add(at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.FXGraphPackage.eINSTANCE); result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/xbase/Xbase")); result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/common/JavaVMTypes")); result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/xbase/Xtype")); return result; } }