Class DtRuleInput
- java.lang.Object
-
- com._1c.g5.aef2.standard.definitions.rules.RuleInput
-
- com._1c.g5.v8.dt.ui.aef.definitions.rules.DtRuleInput
-
- All Implemented Interfaces:
IRuleInput
,IDtRuleInput
public class DtRuleInput extends RuleInput implements IDtRuleInput
TheIDtRuleInput
implementation.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DtRuleInput(IV8ProjectManager v8projectManager, Collection<IContainerDefinition> roots, Object... objects)
Creates a new rule input.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IRuleInput
create(IV8ProjectManager v8projectManager, IContainerDefinition root, Object... objects)
Creates a new instance ofIRuleInput
.static IRuleInput
create(IV8ProjectManager v8projectManager, Collection<IContainerDefinition> roots, Object... objects)
Creates a new instance ofIRuleInput
.Collection<Object>
getEditingObjects()
Returns editing objects.Set<IDefinition>
getLeafDefinitions()
Returns the set of all leaf definitions of this input.IV8Project
getProjectParameters(org.eclipse.emf.ecore.EObject object)
Returns theIV8Project
for the given object.
-
-
-
Constructor Detail
-
DtRuleInput
protected DtRuleInput(IV8ProjectManager v8projectManager, Collection<IContainerDefinition> roots, Object... objects)
Creates a new rule input.- Parameters:
v8projectManager
- the V8 project manager.roots
- Root container definitionsobjects
- objects.
-
-
Method Detail
-
getProjectParameters
public IV8Project getProjectParameters(org.eclipse.emf.ecore.EObject object)
Description copied from interface:IDtRuleInput
Returns theIV8Project
for the given object.- Specified by:
getProjectParameters
in interfaceIDtRuleInput
- Parameters:
object
- the object, cannot benull
.- Returns:
- the
IV8Project
.
-
create
public static IRuleInput create(IV8ProjectManager v8projectManager, Collection<IContainerDefinition> roots, Object... objects)
Creates a new instance ofIRuleInput
.- Parameters:
v8projectManager
- the V8 project manager.roots
- Root definitionsobjects
- objects.- Returns:
- a newly created instance.
-
create
public static IRuleInput create(IV8ProjectManager v8projectManager, IContainerDefinition root, Object... objects)
Creates a new instance ofIRuleInput
.- Parameters:
v8projectManager
- the V8 project manager.root
- Root definitionobjects
- objects.- Returns:
- a newly created instance.
-
getLeafDefinitions
public Set<IDefinition> getLeafDefinitions()
Description copied from interface:IDtRuleInput
Returns the set of all leaf definitions of this input.- Specified by:
getLeafDefinitions
in interfaceIDtRuleInput
- Returns:
- The set of all leaf definitions of this input
-
getEditingObjects
public Collection<Object> getEditingObjects()
Description copied from interface:IRuleInput
Returns editing objects.- Specified by:
getEditingObjects
in interfaceIRuleInput
- Overrides:
getEditingObjects
in classRuleInput
- Returns:
- editing objects.
-
-