Class NavigatorObjectsAvailability


  • public class NavigatorObjectsAvailability
    extends Object
    Support service for 1C:Enterprise Navigator object pathes avaliability check.
    See Also:
    IMdObjectAvailability
    • Constructor Detail

      • NavigatorObjectsAvailability

        public NavigatorObjectsAvailability()
    • Method Detail

      • isAvailable

        public boolean isAvailable​(Iterable<Object> navigatorTreePath)
        Returns whether the given object path in 1C:Enterprise Navigator (in terms of Navigator tree) is currenlty available. Path from root node to leaf is expected.
        Parameters:
        navigatorTreePath - the object path in 1C:Enterprise Navigator, cannot be null
        Returns:
        whether the given object path in 1C:Enterprise Navigator is currenlty available
      • isAvailable

        public boolean isAvailable​(Iterable<Object> navigatorTreePath,
                                   org.eclipse.emf.ecore.EStructuralFeature feature)
        Returns whether the given object path and the given feature in 1C:Enterprise Navigator (in terms of Navigator tree) is currenlty available. Path from root node to leaf is expected.
        Parameters:
        navigatorTreePath - the object path in 1C:Enterprise Navigator, cannot be null
        feature - the context feature to check availability, cannot be null
        Returns:
        whether the given object path in 1C:Enterprise Navigator is currenlty available
      • markAsDisabled

        public boolean markAsDisabled​(Iterable<Object> navigatorTreePath)
        Returns whether the given object path in 1C:Enterprise Navigator (in terms of Navigator tree) is currenlty unavailable and need to be marked as disabled. Path from root node to leaf is expected.
        Parameters:
        navigatorTreePath - the object path in 1C:Enterprise Navigator, cannot be null
        Returns:
        whether the given object path in 1C:Enterprise Navigator is currenlty unavailable and need to be marked as disabled