Package com._1c.g5.v8.dt.md.api
Class ChangeQuickChoiceTask
- 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<BasicDbObject>
-
- com._1c.g5.v8.dt.md.api.ChangeQuickChoiceTask
-
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public class ChangeQuickChoiceTask extends BmBasicTask1<BasicDbObject>
This is anIBmTask
to change "Choice Mode" field ofBasicDbObject
object. In case the value becomesChoiceMode.QUICK_CHOICE
it raises the flag "Quick choice". If the value becomesChoiceMode.FROM_FORM
it will unset the flag. Otherwise it will just assign the new value.
-
-
Constructor Summary
Constructors Constructor Description ChangeQuickChoiceTask(BasicDbObject basicDbObject, ChoiceMode value, org.eclipse.emf.ecore.EStructuralFeature choiceModeFeature)
Creates a new instance ofChangeQuickChoiceTask
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(BasicDbObject basicDbObject, 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
-
ChangeQuickChoiceTask
public ChangeQuickChoiceTask(BasicDbObject basicDbObject, ChoiceMode value, org.eclipse.emf.ecore.EStructuralFeature choiceModeFeature)
Creates a new instance ofChangeQuickChoiceTask
.- Parameters:
basicDbObject
- theBasicDbObject
, cannot benull
value
- the choice mode value, cannot benull
choiceModeFeature
- the choice mode feature, cannot benull
-
-
Method Detail
-
execute
public org.eclipse.core.runtime.IStatus execute(BasicDbObject basicDbObject, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
execute
in classBmBasicTask1<BasicDbObject>
-
-