Class MdObjectMobileAvailability

java.lang.Object
com._1c.g5.v8.dt.internal.md.availability.MdObjectMobileAvailability
All Implemented Interfaces:
IMdObjectAvailabilityDelegate

public class MdObjectMobileAvailability extends Object implements IMdObjectAvailabilityDelegate
Implementation of IMdObjectAvailabilityDelegate that checks whether objects are available in configurations with mobile use purpose.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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
    Returns whether the given V8 project is mobile application.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MdObjectMobileAvailability

      public MdObjectMobileAvailability()
  • Method Details

    • isAvailable

      public boolean isAvailable(org.eclipse.emf.ecore.EObject eObject, IV8Project v8project)
      Description copied from interface: IMdObjectAvailabilityDelegate
      Returns whether the provided metadata class is currently available in the provided V8 project.
      Specified by:
      isAvailable in interface IMdObjectAvailabilityDelegate
      Parameters:
      eObject - the metadata object to check availability, cannot be null
      v8project - the V8 project to check in, cannot be null
      Returns:
      whether the provided metadata class is currently available in the provided V8 project
    • isAvailable

      public boolean isAvailable(org.eclipse.emf.ecore.EClass eClass, IV8Project v8project)
      Description copied from interface: IMdObjectAvailabilityDelegate
      Returns whether the provided metadata class is currently available in the provided V8 project.
      Specified by:
      isAvailable in interface IMdObjectAvailabilityDelegate
      Parameters:
      eClass - the metadata class to check availability, cannot be null
      v8project - the V8 project to check in, cannot be null
      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 interface IMdObjectAvailabilityDelegate
      Parameters:
      eObject - the metadata object to check feature availability in, cannot be null
      feature - the context feature to check availability, cannot be null
      v8project - the V8 project to check in, cannot be null
      Returns:
      whether the provided metadata class is currently available in the provided V8 project
    • isMobileProject

      protected boolean isMobileProject(IV8Project v8project)
      Returns whether the given V8 project is mobile application.
      Parameters:
      v8project - the V8 project to check, cannot be null
      Returns:
      whether the given V8 project is mobile application