Package com._1c.g5.v8.dt.md.api
Class PredefinedCalculationTypeCalculationBaseTask
- java.lang.Object
-
- com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
-
- com._1c.g5.v8.bm.integration.BmBasicTask
-
- com._1c.g5.v8.bm.integration.BmBasicTask1<ChartOfCalculationTypesPredefinedItem>
-
- com._1c.g5.v8.dt.md.api.PredefinedCalculationTypeCalculationBaseTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class PredefinedCalculationTypeCalculationBaseTask extends BmBasicTask1<ChartOfCalculationTypesPredefinedItem>
This task to add or remove calculation type in theChartOfCalculationTypesPredefinedItem
calculation base (base, leading, displacing calculation types).
-
-
Constructor Summary
Constructors Constructor Description PredefinedCalculationTypeCalculationBaseTask(ChartOfCalculationTypesPredefinedItem predefinedItem, ChartOfCalculationTypesPredefinedItem item, boolean add, org.eclipse.emf.ecore.EStructuralFeature feature)
Instantiate task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(ChartOfCalculationTypesPredefinedItem item, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
execute
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Constructor Detail
-
PredefinedCalculationTypeCalculationBaseTask
public PredefinedCalculationTypeCalculationBaseTask(ChartOfCalculationTypesPredefinedItem predefinedItem, ChartOfCalculationTypesPredefinedItem item, boolean add, org.eclipse.emf.ecore.EStructuralFeature feature)
Instantiate task.- Parameters:
predefinedItem
- the predefined calculation type, cannot benull
item
- the predefined calculation type - owner, cannot benull
add
- a boolean flag -true
to add item,false
to removefeature
- the calculation base feature (base, leading, displacing), cannot benull
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(ChartOfCalculationTypesPredefinedItem item, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask1<ChartOfCalculationTypesPredefinedItem>
-
-