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 TypeMethodDescriptionbooleanisAvailable(org.eclipse.emf.ecore.EClass eClass, IV8Project v8project) Returns whether the provided metadata class is currently available in the provided V8 project.booleanisAvailable(org.eclipse.emf.ecore.EObject eObject, IV8Project v8project) Returns whether the provided metadata class is currently available in the provided V8 project.booleanisAvailable(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:IMdObjectAvailabilityDelegateReturns whether the provided metadata class is currently available in the provided V8 project.- Specified by:
isAvailablein interfaceIMdObjectAvailabilityDelegate- Parameters:
eClass- the metadata class to check availability, cannot benullv8project- 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:IMdObjectAvailabilityDelegateReturns whether the provided metadata class is currently available in the provided V8 project.- Specified by:
isAvailablein interfaceIMdObjectAvailabilityDelegate- Parameters:
eObject- the metadata object to check availability, cannot benullv8project- 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:IMdObjectAvailabilityDelegateReturns 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:
isAvailablein interfaceIMdObjectAvailabilityDelegate- Parameters:
eObject- the metadata object to check feature availability in, cannot benullfeature- the context feature to check availability, cannot benullv8project- the V8 project to check in, cannot benull- Returns:
- whether the provided metadata class is currently available in the provided V8 project
-