Package com._1c.g5.v8.dt.md.ui.navigator
Class NavigatorObjectsAvailability
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.navigator.NavigatorObjectsAvailability
-
public class NavigatorObjectsAvailability extends Object
Support service for 1C:Enterprise Navigator object pathes avaliability check.- See Also:
IMdObjectAvailability
-
-
Constructor Summary
Constructors Constructor Description NavigatorObjectsAvailability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAvailable(Iterable<Object> navigatorTreePath)
Returns whether the given object path in 1C:Enterprise Navigator (in terms of Navigator tree) is currenlty available.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.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.
-
-
-
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 benull
- 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 benull
feature
- the context feature to check availability, cannot benull
- 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 benull
- Returns:
- whether the given object path in 1C:Enterprise Navigator is currenlty unavailable and need to be marked as disabled
-
-