Class MdObjectAvailabilityRule
- java.lang.Object
-
- com._1c.g5.aef2.standard.definitions.rules.AbstractRule
-
- com._1c.g5.v8.dt.ui.aef.definitions.rules.AbstractRule
-
- com._1c.g5.v8.dt.ui.aef.definitions.rules.DisableAllRule
-
- com._1c.g5.v8.dt.md.ui.aef2.rules.MdObjectAvailabilityRule
-
- All Implemented Interfaces:
IRule
public class MdObjectAvailabilityRule extends DisableAllRule
Manages the availability of properties by using theIMdObjectAvailability
service
-
-
Constructor Summary
Constructors Constructor Description MdObjectAvailabilityRule(IMdObjectAvailability mdObjectAvailability, Supplier<Iterable<IDefinition>> definitionSupplier)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildSingleObject(org.eclipse.emf.ecore.EObject object, IV8Project v8project)
Builds statements for each of selected object.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.definitions.rules.DisableAllRule
disableAll
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.definitions.rules.AbstractRule
buildSingleObject, getProject, getResult, isMobileApplicationOnly
-
Methods inherited from class com._1c.g5.aef2.standard.definitions.rules.AbstractRule
componentDefinition, componentDefinition, componentDefinition, componentDefinition, componentDefinition, componentTarget, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, hide, hide, hide, hide, hide, multiFeatureDisable, multiFeatureEnable, multiFeatureHide, multiFeatureShow, show, show, show, show, show
-
-
-
-
Constructor Detail
-
MdObjectAvailabilityRule
public MdObjectAvailabilityRule(IMdObjectAvailability mdObjectAvailability, Supplier<Iterable<IDefinition>> definitionSupplier)
The constructor.- Parameters:
mdObjectAvailability
- theIMdObjectAvailability
instance, cannot benull
.definitionSupplier
- the definition supplier, cannot benull
.
-
-
Method Detail
-
buildSingleObject
protected void buildSingleObject(org.eclipse.emf.ecore.EObject object, IV8Project v8project)
Description copied from class:AbstractRule
Builds statements for each of selected object.- Overrides:
buildSingleObject
in classDisableAllRule
- Parameters:
object
- the object.v8project
- the V8 project for object.
-
-