Class MdObjectAvailabilityDelegate
java.lang.Object
com._1c.g5.v8.dt.internal.md.availability.MdObjectAvailabilityDelegate
- All Implemented Interfaces:
IMdObjectAvailabilityDelegate
Implementation of
IMdObjectAvailabilityDelegate
that checks whether objects are available in
IV8Project
with concrete IV8Project.getVersion()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAvailable
(org.eclipse.emf.ecore.EClass eClass, IV8Project v8project) Returns whether the provided metadata class is currently available in the provided V8 project.boolean
isAvailable
(org.eclipse.emf.ecore.EObject eObject, IV8Project v8project) Returns whether the provided metadata class is currently available in the provided V8 project.boolean
isAvailable
(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project) Returns whether the feature of the provided metadata class is currently available in the provided V8 project.
-
Constructor Details
-
MdObjectAvailabilityDelegate
public MdObjectAvailabilityDelegate()
-
-
Method Details
-
isAvailable
Description copied from interface:IMdObjectAvailabilityDelegate
Returns whether the provided metadata class is currently available in the provided V8 project.- Specified by:
isAvailable
in interfaceIMdObjectAvailabilityDelegate
- Parameters:
eClass
- the metadata class to check availability, cannot benull
v8project
- the V8 project to check in, cannot benull
- Returns:
- whether the provided metadata class is currently available in the provided V8 project
-
isAvailable
Description copied from interface:IMdObjectAvailabilityDelegate
Returns whether the provided metadata class is currently available in the provided V8 project.- Specified by:
isAvailable
in interfaceIMdObjectAvailabilityDelegate
- Parameters:
eObject
- the metadata object to check availability, cannot benull
v8project
- the V8 project to check in, cannot benull
- Returns:
- whether the provided metadata class is currently available in the provided V8 project
-
isAvailable
public boolean isAvailable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project) Description copied from interface:IMdObjectAvailabilityDelegate
Returns whether the feature of the provided metadata class is currently available in the provided V8 project. Feature may be not available even if object itself is available.- Specified by:
isAvailable
in interfaceIMdObjectAvailabilityDelegate
- Parameters:
eObject
- the metadata object to check feature availability in, cannot benull
feature
- the context feature to check availability, cannot benull
v8project
- the V8 project to check in, cannot benull
- Returns:
- whether the provided metadata class is currently available in the provided V8 project
-