Class MweResourceDescriptionStrategy
java.lang.Object
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
org.eclipse.emf.mwe2.language.resource.MweResourceDescriptionStrategy
- All Implemented Interfaces:
org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
public class MweResourceDescriptionStrategy
extends org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
- Author:
- Jan Koehnlein - Initial contribution and API
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
createEObjectDescriptions
(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor) protected org.eclipse.xtext.resource.IEObjectDescription
createIEObjectDescription
(DeclaredProperty property) protected String
getValueFromNodeModel
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference feature) Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
createReferenceDescription, createReferenceDescriptions, getLazyURIEncoder, getQualifiedNameProvider, isIndexable, isResolvedAndExternal, setLazyURIEncoder, setQualifiedNameProvider
-
Field Details
-
DECLARED_PROPERTY__MANDATORY
- See Also:
-
MANDATORY_TRUE
- See Also:
-
DECLARED_PROPERTY__TYPE
- See Also:
-
TYPE__BOOLEAN
- See Also:
-
TYPE__STRING
- See Also:
-
-
Constructor Details
-
MweResourceDescriptionStrategy
public MweResourceDescriptionStrategy()
-
-
Method Details
-
createEObjectDescriptions
public boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor) - Specified by:
createEObjectDescriptions
in interfaceorg.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
- Overrides:
createEObjectDescriptions
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
-
createIEObjectDescription
protected org.eclipse.xtext.resource.IEObjectDescription createIEObjectDescription(DeclaredProperty property) -
getValueFromNodeModel
protected String getValueFromNodeModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference feature)
-