Class ChangeQuickChoiceTask

All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>

public class ChangeQuickChoiceTask extends BmBasicTask1<BasicDbObject>
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 Details

    • ChangeQuickChoiceTask

      public ChangeQuickChoiceTask(BasicDbObject basicDbObject, ChoiceMode value, org.eclipse.emf.ecore.EStructuralFeature choiceModeFeature)
      Creates a new instance of ChangeQuickChoiceTask.
      Parameters:
      basicDbObject - the BasicDbObject, cannot be null
      value - the choice mode value, cannot be null
      choiceModeFeature - the choice mode feature, cannot be null
  • Method Details