Package com._1c.g5.v8.dt.xdto.resource
Class XdtoResourceDescriptionStrategy
- java.lang.Object
-
- org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
-
- com._1c.g5.v8.dt.xdto.resource.XdtoResourceDescriptionStrategy
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
public class XdtoResourceDescriptionStrategy extends org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
Implementation ofDefaultResourceDescriptionStrategy
for SDTOPackage
-
-
Constructor Summary
Constructors Constructor Description XdtoResourceDescriptionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
protected void
createObjectTypeDescriptions(List<ObjectType> objects, String nsUri, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing elements forObjectType
protected void
createPackageDescription(Package xdtoPackage, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing element forxdtoPackage
protected void
createPropertyDescriptions(List<Property> properties, String nsUri, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing elements forProperty
boolean
createReferenceDescriptions(org.eclipse.emf.ecore.EObject from, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)
protected void
createValueTypeDescriptions(List<ValueType> types, String nsUri, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing elements forValueType
-
-
-
Method Detail
-
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
-
createReferenceDescriptions
public boolean createReferenceDescriptions(org.eclipse.emf.ecore.EObject from, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)
- Specified by:
createReferenceDescriptions
in interfaceorg.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
- Overrides:
createReferenceDescriptions
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
-
createPropertyDescriptions
protected void createPropertyDescriptions(List<Property> properties, String nsUri, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing elements forProperty
-
createValueTypeDescriptions
protected void createValueTypeDescriptions(List<ValueType> types, String nsUri, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing elements forValueType
-
createObjectTypeDescriptions
protected void createObjectTypeDescriptions(List<ObjectType> objects, String nsUri, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing elements forObjectType
- Parameters:
objects
- collection ofObjectType
, can't benull
nsUri
- actual target uri of thePackage
, can't benull
acceptor
- actualIAcceptor
, can't benull
-
createPackageDescription
protected void createPackageDescription(Package xdtoPackage, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
Creates indexing element forxdtoPackage
- Parameters:
xdtoPackage
- actualxdtoPackage
, can't benull
acceptor
- actualIAcceptor
, can't benull
-
-