org.eclipse.emf.mwe2.language.resource
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
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy |
createReferenceDescription, createReferenceDescriptions, getLazyURIEncoder, getQualifiedNameProvider, isIndexable, isResolvedAndExternal, setLazyURIEncoder, setQualifiedNameProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DECLARED_PROPERTY__MANDATORY
public static final java.lang.String DECLARED_PROPERTY__MANDATORY
- See Also:
- Constant Field Values
MANDATORY_TRUE
public static final java.lang.String MANDATORY_TRUE
- See Also:
- Constant Field Values
DECLARED_PROPERTY__TYPE
public static final java.lang.String DECLARED_PROPERTY__TYPE
- See Also:
- Constant Field Values
TYPE__BOOLEAN
public static final java.lang.String TYPE__BOOLEAN
- See Also:
- Constant Field Values
TYPE__STRING
public static final java.lang.String TYPE__STRING
- See Also:
- Constant Field Values
MweResourceDescriptionStrategy
public MweResourceDescriptionStrategy()
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 interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
- Overrides:
createEObjectDescriptions
in class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
createIEObjectDescription
protected org.eclipse.xtext.resource.IEObjectDescription createIEObjectDescription(DeclaredProperty property)
getValueFromNodeModel
protected java.lang.String getValueFromNodeModel(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EReference feature)