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 boolean
Infers 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 boolean
Infers Constant standard commands.protected boolean
protected 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 boolean
Infers Document standard commands.protected boolean
Infers 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 boolean
Infers Report standard commands.protected boolean
protected boolean
Infers Task standard commands.protected boolean
_infer
(org.eclipse.emf.ecore.EObject object, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers EObject standard commands.boolean
infer
(org.eclipse.emf.ecore.EObject catalog, org.eclipse.xtext.resource.IEObjectDescription[] groups) boolean
visit
(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:
visit
in interfaceVisitors.IVisitor
- Parameters:
eObject
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(org.eclipse.emf.ecore.EObject object, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers EObject standard commands.- Parameters:
eObject
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(AccumulationRegister accumReg, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers AccumulationRegister standard commands.- Parameters:
accumReg
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ChartOfCharacteristicTypes chartOfCharacteristicTypes, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ChartOfCharacteristicTypes standard commands.- Parameters:
chartOfCharacteristicTypes
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(Document document, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Document standard commands.- Parameters:
document
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
Infers Enum standard commands.- Parameters:
enumm
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(InformationRegister infoReg, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers InformationRegister standard commands.- Parameters:
infoReg
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(DocumentJournal documentJournal, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers DocumentJournal standard commands.- Parameters:
documentJournal
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(DataProcessor dataProcessor, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers DataProcessor standard commands.- Parameters:
dataProcessor
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
Infers Catalog standard commands.- Parameters:
catalog
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ChartOfAccounts chartOfAccounts, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Chart of accounts standard commands.- Parameters:
chartOfAccounts
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
Infers Report standard commands.- Parameters:
report
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(CommonForm commonForm, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers CommonForm (ConstantForms) standard commands.- Parameters:
commonForm
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(Constant constant, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers Constant standard commands.- Parameters:
constant
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ExchangePlan exchangePlan, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ExchangePlan standard commands.- Parameters:
exchangePlan
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(BusinessProcess bp, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers BusinessProcess standard commands.- Parameters:
bp
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
Infers Task standard commands.- Parameters:
task
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(FilterCriterion filterCriterion, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers FilterCriterion standard commands.- Parameters:
filterCriterion
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(AccountingRegister accountingRegister, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers AccountingRegister standard commands.- Parameters:
accountingRegister
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(CalculationRegister calculationRegister, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers CalculationRegister standard commands.- Parameters:
calculationRegister
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_infer
protected boolean _infer(ChartOfCalculationTypes chartOfCalculationTypes, org.eclipse.xtext.resource.IEObjectDescription[] groups) Infers ChartOfCalculationTypes standard commands.- Parameters:
chartOfCalculationTypes
- notnull
groups
- notnull
- Returns:
true
if the contents of the given object should be visited, andfalse
otherwise
-
_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)
-