Class MdObjectMobileAvailability
java.lang.Object
com._1c.g5.v8.dt.internal.md.availability.MdObjectMobileAvailability
- All Implemented Interfaces:
IMdObjectAvailabilityDelegate
Implementation of
IMdObjectAvailabilityDelegate
that checks whether objects are available in
configurations with mobile use purpose.- See Also:
-
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.protected boolean
isMobileProject
(IV8Project v8project) Returns whether the given V8 project is mobile application.
-
Constructor Details
-
MdObjectMobileAvailability
public MdObjectMobileAvailability()
-
-
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:
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
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
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
-
isMobileProject
Returns whether the given V8 project is mobile application.- Parameters:
v8project
- the V8 project to check, cannot benull
- Returns:
- whether the given V8 project is mobile application
-