Class UpdateFormDefaultButtonTask

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

    public class UpdateFormDefaultButtonTask
    extends BmBasicTask2<Form,​Button>
    The bm task for update form default button.
    • Constructor Detail

      • UpdateFormDefaultButtonTask

        public UpdateFormDefaultButtonTask​(IFormButtonService service,
                                           Form form,
                                           Button button,
                                           boolean defaultValue)
        Creates a new bm task.
        Parameters:
        service - the service for edits form button properties.
        form - the form
        button - the candidate button.
        defaultValue - the default value, true - is set candidate button to default on form, false - is unset candidate button on form default button.
    • Method Detail

      • execute

        public org.eclipse.core.runtime.IStatus execute​(Form form,
                                                        Button candidate,
                                                        org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        execute in class BmBasicTask2<Form,​Button>