Class AbstractAdoptedObjectRule
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.definitions.rules.AbstractRule
-
- com._1c.g5.v8.dt.md.ui.extension.aef.rules.AbstractAdoptedObjectRule
-
- All Implemented Interfaces:
IRule
- Direct Known Subclasses:
AdoptedMdObjectRule
public abstract class AbstractAdoptedObjectRule extends AbstractRule
The abstract rule implementation for adopted objects.
-
-
Constructor Summary
Constructors Constructor Description AbstractAdoptedObjectRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IDefinition
componentDefinition(org.eclipse.emf.ecore.EStructuralFeature... features)
CreatesIDefinition
that point to component for the specifiedfeatures
.protected IRuleTarget
componentTarget(IDefinition componentDefinition)
CreatesIRuleTarget
that point to component for the component definition.protected void
disableWithCheckBox(org.eclipse.emf.ecore.EStructuralFeature... features)
Disables the adopted object feature entirely, i.e.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.definitions.rules.AbstractRule
buildMultiObject, buildSingleObject, componentDefinition, componentDefinition, componentDefinition, componentDefinition, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, getProject, getResult, getResult, hide, hide, hide, hide, hide, isMobileApplicationOnly, multiFeatureDisable, multiFeatureEnable, multiFeatureHide, multiFeatureShow, show, show, show, show, show
-
-
-
-
Method Detail
-
disableWithCheckBox
protected void disableWithCheckBox(org.eclipse.emf.ecore.EStructuralFeature... features)
Disables the adopted object feature entirely, i.e. it disables the feature control and its checkbox (label).- Parameters:
features
- the features, cannot benull
or empty.
-
componentDefinition
protected IDefinition componentDefinition(org.eclipse.emf.ecore.EStructuralFeature... features)
Description copied from class:AbstractRule
CreatesIDefinition
that point to component for the specifiedfeatures
.- Overrides:
componentDefinition
in classAbstractRule
- Parameters:
features
- the features, cannot benull
or empty.- Returns:
IDefinition
instance, nevernull
.
-
componentTarget
protected IRuleTarget componentTarget(IDefinition componentDefinition)
Description copied from class:AbstractRule
CreatesIRuleTarget
that point to component for the component definition.- Overrides:
componentTarget
in classAbstractRule
- Parameters:
componentDefinition
- the component definition, cannot benull
or empty.- Returns:
IRuleTarget
instance, nevernull
.
-
-