Class AbstractSingleTypeRule<T extends org.eclipse.emf.ecore.EObject>
- 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.AbstractSingleTypeRule<T>
-
- All Implemented Interfaces:
IRule
- Direct Known Subclasses:
AccountingRegisterRule
,AccumulationRegisterRule
,BasicCommandRule
,BasicDbObjectRule
,BasicFeatureRule
,BasicFormRule
,BasicTemplateRule
,CalculationRegisterRule
,CommonCommandRule
,CommonModuleRule
,CommonPictureRule
,ConfigurationRule
,ConstantRule
,DataProcessorRule
,DimensionTableRule
,DocumentNumeratorRule
,EventSubscriptionRule
,FieldRule
,FunctionalOptionRule
,FunctionRule
,InformationRegisterRule
,IntegrationServiceChannelRule
,ReportRule
,StyleItemRule
,StyleRule
,SubsystemRule
,TableRule
public abstract class AbstractSingleTypeRule<T extends org.eclipse.emf.ecore.EObject> extends AbstractRule
The rule that builds the statements for the objects only if objects are instances of the specified type.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSingleTypeRule(Class<? extends T> clazz)
The constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
buildForObject(T object, IV8Project v8Project)
Builds rules statements for the givenobject
.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.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
-
-
-
-
Method Detail
-
buildSingleObject
protected final void buildSingleObject(org.eclipse.emf.ecore.EObject object, IV8Project v8project)
Description copied from class:AbstractRule
Builds statements for each of selected object.- Specified by:
buildSingleObject
in classAbstractRule
- Parameters:
object
- the object.v8project
- the V8 project for object.
-
buildForObject
protected abstract void buildForObject(T object, IV8Project v8Project)
Builds rules statements for the givenobject
.- Parameters:
object
- the object, can benull
.v8Project
- the v8Project, can benull
.
-
-