Class OperationFieldDefinition
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.AbstractDefinition
- 
- com._1c.g5.aef2.standard.definitions.LabeledDefinition
- 
- com._1c.g5.aef2.standard.definitions.OperationFieldDefinition
 
 
 
- 
- All Implemented Interfaces:
- IComponentFactory,- IDefinition,- ILabeledDefinition,- IOperationFieldDefinition
 
 public class OperationFieldDefinition extends LabeledDefinition implements IOperationFieldDefinition The operation field definition represents the definition of some operation of the object. The feature is described withEOperation.
 The main purpose of this definition is to describe the UI element that consist of a label and a control for processing the specified operation.
 The key feature of this definition isAbstractDefinition.hashCode()andAbstractDefinition.equals(Object)implementation, which ignore all fields except the label and the operation. This feature allows to implement rules with convenient ways with using sets of definitions.
- 
- 
Constructor SummaryConstructors Constructor Description OperationFieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.ecore.EOperation operation)Creates a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EOperationgetOperation()Returns the operation.- 
Methods inherited from class com._1c.g5.aef2.standard.definitions.LabeledDefinitiongetLabel, setLabel
 - 
Methods inherited from class com._1c.g5.aef2.standard.definitions.AbstractDefinitioncreateComponent, equals, getComponentClass, getConstructor, getId, getLayoutData, getParametrization, getParent, hashCode, setComponentClass, setComponentFactory, setLayoutData, setModelFactory, setParameterization, setParent
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IComponentFactorycreateComponent
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IDefinitiongetComponentClass, getId, getLayoutData, getParametrization, getParent
 - 
Methods inherited from interface com._1c.g5.aef2.standard.definitions.ILabeledDefinitiongetLabel
 
- 
 
- 
- 
- 
Constructor Detail- 
OperationFieldDefinitionpublic OperationFieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.ecore.EOperation operation) Creates a new instance.- Parameters:
- componentClass- the class of the component.
- parameterization- the parameterization.
- label- the label.
- operation- the operation, cannot be- null.
 
 
- 
 - 
Method Detail- 
getOperationpublic org.eclipse.emf.ecore.EOperation getOperation() Description copied from interface:IOperationFieldDefinitionReturns the operation.- Specified by:
- getOperationin interface- IOperationFieldDefinition
- Returns:
- the operation.
 
 
- 
 
-