Interface IExternalMetaTypesProvider
-
public interface IExternalMetaTypesProvider
Special provider for add metaType
s to Built-In Module language. Meta type - is additional information about real V8 RuntimeTypeItem
, this information can only use in documentation comment in Built-In Module language. Meta type provides information about methods and properties of real V8 RuntimeTypeItem
. This information will be used only in design time for content-assits, validation in Built-in language editor. Provider should be registered by extension point "com._1c.g5.v8.dt.bsl.externalMetaTypesExtension".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Type>
getExternalTypes(org.eclipse.emf.ecore.resource.Resource context)
Gets external meta types, which will be available only in Built-In Module language.
-
-
-
Method Detail
-
getExternalTypes
Collection<Type> getExternalTypes(org.eclipse.emf.ecore.resource.Resource context)
Gets external meta types, which will be available only in Built-In Module language. Meta type - is additional information about real V8 RuntimeTypeItem
, this information can only be used in documentation comment in Built-In Module language. Meta type provides information about methods and properties of real V8 RuntimeTypeItem
. This information will be used only in design time for content-assist, validation in Built-in language editor. Each returningType
can have reference to usual types (not external meta types). No matter that returning type has or not containingResource
. Important:
- This method in large configuration will be called very often.
- Names (Russian and English) of the object should be unique.
- Parameters:
context
- special contextResource
for getting actualVersion
(seeIRuntimeVersionSupport.getRuntimeVersion(Resource)
), and resolving usual types (seeEcoreUtil.resolve(org.eclipse.emf.ecore.EObject, Resource)
), cannot benull
- Returns:
- external types, which will be available only in Built-In Module language, never
null
-
-