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 anIBmTaskto change "Choice Mode" field ofBasicDbObjectobject. In case the value becomesChoiceMode.QUICK_CHOICEit raises the flag "Quick choice". If the value becomesChoiceMode.FROM_FORMit 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.IStatusexecute(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 benullvalue- the choice mode value, cannot benullchoiceModeFeature- 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:
executein classBmBasicTask1<BasicDbObject>
-
-