Interface IInnerElementSupplier
-
- All Known Implementing Classes:
AbstractElementSupplier
,AbstractFeatureElementSupplier
public interface IInnerElementSupplier
A custom supplier of inner elements of partial model nodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IPartialModelNode>
getInnerElements(IPartialModelNode node, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Returns a list of inner elements for the specified partial model node.boolean
supports(IPartialModelNode node)
Checks if this provider supports the specified MD object property partial model node.
-
-
-
Method Detail
-
supports
boolean supports(IPartialModelNode node)
Checks if this provider supports the specified MD object property partial model node.- Parameters:
node
- the partial model node- Returns:
true
if the supplier supports the specified node, andfalse
otherwise
-
getInnerElements
List<IPartialModelNode> getInnerElements(IPartialModelNode node, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Returns a list of inner elements for the specified partial model node.- Parameters:
node
- the partial model node, cannot benull
comparisonContext
- the comparison context, cannotnull
scopeProvider
- the scope provider, cannot benull
- Returns:
- a collection of inner elements, never
null
-
-