Class AbstractEcoreModelQuery<P extends org.eclipse.emf.ecore.EObject,R>
- java.lang.Object
-
- net.ssehub.easy.dslCore.ui.hyperlinking.AbstractEcoreModelQuery<P,R>
-
- de.uni_hildesheim.sse.vil.expressions.ui.hyperlinking.AbstractEcoreModelQuery<P,R>
-
- Type Parameters:
P- the type of the "project", the top-most semantic language unitR-IModelQuerysearch result type
- All Implemented Interfaces:
IEcoreModelQuery<P,R>
- Direct Known Subclasses:
VilEcoreModelQuery,VtlEcoreModelQuery
public abstract class AbstractEcoreModelQuery<P extends org.eclipse.emf.ecore.EObject,R> extends AbstractEcoreModelQuery<P,R>
Some common functionality for the common VIL expressions language.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description AbstractEcoreModelQuery()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.emf.ecore.EObjectfindCompound(java.util.List<de.uni_hildesheim.sse.vil.expressions.expressionDsl.Compound> defs, Compound element)Tries findingelementindefs.static org.eclipse.emf.ecore.EObjectfindTypedef(java.util.List<de.uni_hildesheim.sse.vil.expressions.expressionDsl.TypeDef> defs, Typedef element)Tries findingelementindefs.static org.eclipse.emf.ecore.EObjectfindVariableDeclaration(java.util.List<de.uni_hildesheim.sse.vil.expressions.expressionDsl.VariableDeclaration> defs, VariableDeclaration element)Tries findingelementindefs.-
Methods inherited from class net.ssehub.easy.dslCore.ui.hyperlinking.AbstractEcoreModelQuery
getRootNode, getXtextResource, notEmpty, notEmpty, notEmpty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.ssehub.easy.dslCore.ui.hyperlinking.IEcoreModelQuery
getEcoreElement, getName, getProject
-
-
-
-
Method Detail
-
findVariableDeclaration
public static org.eclipse.emf.ecore.EObject findVariableDeclaration(java.util.List<de.uni_hildesheim.sse.vil.expressions.expressionDsl.VariableDeclaration> defs, VariableDeclaration element)Tries findingelementindefs.- Parameters:
defs- the variable declarations to search withinelement- the element to search for- Returns:
- the found variable declaration or null
-
findTypedef
public static org.eclipse.emf.ecore.EObject findTypedef(java.util.List<de.uni_hildesheim.sse.vil.expressions.expressionDsl.TypeDef> defs, Typedef element)Tries findingelementindefs.- Parameters:
defs- the type defs to search withinelement- the element to search for- Returns:
- the found type def or null
-
findCompound
public static org.eclipse.emf.ecore.EObject findCompound(java.util.List<de.uni_hildesheim.sse.vil.expressions.expressionDsl.Compound> defs, Compound element)Tries findingelementindefs.- Parameters:
defs- the type defs to search withinelement- the element to search for- Returns:
- the found type def or null
-
-