Class ModelEditingSupportRule
- 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.ui.aef.definitions.rules.ModelEditingSupportRule
-
- All Implemented Interfaces:
IRule
@Deprecated public class ModelEditingSupportRule extends DisableAllRule
Deprecated.The rule that disables all components if the object is not editable.- See Also:
IModelEditingSupport
-
-
Constructor Summary
Constructors Constructor Description ModelEditingSupportRule(IModelEditingSupport modelEditingSupport, Supplier<Iterable<IDefinition>> definitionSupplier)
Deprecated.The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
buildSingleObject(org.eclipse.emf.ecore.EObject object, IV8Project v8project)
Deprecated.Builds statements for each of selected object.protected boolean
isEditable(org.eclipse.emf.ecore.EObject object)
Deprecated.Returnstrue
if the givenobject
is editable, otherwise returnsfalse
.-
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
-
ModelEditingSupportRule
public ModelEditingSupportRule(IModelEditingSupport modelEditingSupport, Supplier<Iterable<IDefinition>> definitionSupplier)
Deprecated.The constructor.- Parameters:
modelEditingSupport
- theIModelEditingSupport
instance, cannot benull
.definitionSupplier
- the supplier of the definitions, cannot benull
.
-
-
Method Detail
-
isEditable
protected boolean isEditable(org.eclipse.emf.ecore.EObject object)
Deprecated.Returnstrue
if the givenobject
is editable, otherwise returnsfalse
.- Parameters:
object
- the object, cannot benull
.- Returns:
- the editable or not flag.
-
buildSingleObject
protected void buildSingleObject(org.eclipse.emf.ecore.EObject object, IV8Project v8project)
Deprecated.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.
-
-