Package com._1c.g5.v8.dt.md.resource
Class MdStdCommandInferrer
java.lang.Object
com._1c.g5.v8.dt.md.resource.MdStdCommandInferrer
- All Implemented Interfaces:
Visitors.IVisitor
Infers standard commands from an MdObject.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean_infer(AccountingRegister accountingRegister, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers AccountingRegister standard commands.protected boolean_infer(AccumulationRegister accumReg, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers AccumulationRegister standard commands.protected boolean_infer(BusinessProcess bp, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers BusinessProcess standard commands.protected boolean_infer(CalculationRegister calculationRegister, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers CalculationRegister standard commands.protected booleanInfers Catalog standard commands.protected boolean_infer(ChartOfAccounts chartOfAccounts, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Chart of accounts standard commands.protected boolean_infer(ChartOfCalculationTypes chartOfCalculationTypes, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ChartOfCalculationTypes standard commands.protected boolean_infer(ChartOfCharacteristicTypes chartOfCharacteristicTypes, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ChartOfCharacteristicTypes standard commands.protected boolean_infer(CommonForm commonForm, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers CommonForm (ConstantForms) standard commands.protected booleanInfers Constant standard commands.protected booleanprotected boolean_infer(DataProcessor dataProcessor, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers DataProcessor standard commands.protected boolean_infer(DimensionTable table, org.eclipse.xtext.resource.IEObjectDescription[] groups) protected boolean_infer(DocumentJournal documentJournal, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers DocumentJournal standard commands.protected booleanInfers Document standard commands.protected booleanInfers Enum standard commands.protected boolean_infer(ExchangePlan exchangePlan, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ExchangePlan standard commands.protected boolean_infer(FilterCriterion filterCriterion, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers FilterCriterion standard commands.protected boolean_infer(InformationRegister infoReg, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers InformationRegister standard commands.protected booleanInfers Report standard commands.protected booleanprotected booleanInfers Task standard commands.protected boolean_infer(org.eclipse.emf.ecore.EObject object, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers EObject standard commands.booleaninfer(org.eclipse.emf.ecore.EObject catalog, org.eclipse.xtext.resource.IEObjectDescription[] groups) booleanvisit(org.eclipse.emf.ecore.EObject eObject) Visits the given object.
-
Constructor Details
-
MdStdCommandInferrer
public MdStdCommandInferrer()
-
-
Method Details
-
visit
public boolean visit(org.eclipse.emf.ecore.EObject eObject) Visits the given object. Returns whether the contents of the object should also be visited.- Specified by:
visitin interfaceVisitors.IVisitor- Parameters:
eObject- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(org.eclipse.emf.ecore.EObject object, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers EObject standard commands.- Parameters:
eObject- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(AccumulationRegister accumReg, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers AccumulationRegister standard commands.- Parameters:
accumReg- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(ChartOfCharacteristicTypes chartOfCharacteristicTypes, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ChartOfCharacteristicTypes standard commands.- Parameters:
chartOfCharacteristicTypes- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(Document document, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Document standard commands.- Parameters:
document- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
Infers Enum standard commands.- Parameters:
enumm- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(InformationRegister infoReg, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers InformationRegister standard commands.- Parameters:
infoReg- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(DocumentJournal documentJournal, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers DocumentJournal standard commands.- Parameters:
documentJournal- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(DataProcessor dataProcessor, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers DataProcessor standard commands.- Parameters:
dataProcessor- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
Infers Catalog standard commands.- Parameters:
catalog- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(ChartOfAccounts chartOfAccounts, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Chart of accounts standard commands.- Parameters:
chartOfAccounts- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
Infers Report standard commands.- Parameters:
report- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(CommonForm commonForm, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers CommonForm (ConstantForms) standard commands.- Parameters:
commonForm- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(Constant constant, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Constant standard commands.- Parameters:
constant- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(ExchangePlan exchangePlan, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ExchangePlan standard commands.- Parameters:
exchangePlan- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(BusinessProcess bp, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers BusinessProcess standard commands.- Parameters:
bp- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
Infers Task standard commands.- Parameters:
task- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(FilterCriterion filterCriterion, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers FilterCriterion standard commands.- Parameters:
filterCriterion- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(AccountingRegister accountingRegister, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers AccountingRegister standard commands.- Parameters:
accountingRegister- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(CalculationRegister calculationRegister, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers CalculationRegister standard commands.- Parameters:
calculationRegister- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
protected boolean _infer(ChartOfCalculationTypes chartOfCalculationTypes, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ChartOfCalculationTypes standard commands.- Parameters:
chartOfCalculationTypes- notnullgroups- notnull- Returns:
trueif the contents of the given object should be visited, andfalseotherwise
-
_infer
-
_infer
-
_infer
protected boolean _infer(DimensionTable table, org.eclipse.xtext.resource.IEObjectDescription[] groups) -
infer
public boolean infer(org.eclipse.emf.ecore.EObject catalog, org.eclipse.xtext.resource.IEObjectDescription[] groups)
-