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>
This is an
IBmTask
to change "Choice Mode" field
of BasicDbObject
object. In case the value becomes
ChoiceMode.QUICK_CHOICE
it raises the flag "Quick choice".
If the value becomes ChoiceMode.FROM_FORM
it will unset
the flag. Otherwise it will just assign the new value.-
Constructor Summary
ConstructorsConstructorDescriptionChangeQuickChoiceTask
(BasicDbObject basicDbObject, ChoiceMode value, org.eclipse.emf.ecore.EStructuralFeature choiceModeFeature) Creates a new instance ofChangeQuickChoiceTask
. -
Method Summary
Modifier and TypeMethodDescriptionorg.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 Details
-
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 Details
-
execute
public org.eclipse.core.runtime.IStatus execute(BasicDbObject basicDbObject, org.eclipse.core.runtime.IProgressMonitor monitor) - Specified by:
execute
in classBmBasicTask1<BasicDbObject>
-