Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Scout/Concepts/Exec Methods

< Scout‎ | Concepts
Revision as of 11:43, 3 November 2011 by Claudio.guglielmo.gmail.com (Talk | contribs) (Category changed)

The Scout documentation has been moved to https://eclipsescout.github.io/.

Description

Exec Method are present in Page, Form, Fields, Actions... The abstract class contains a default implementation that can be overridden in the concrete child class.

 @Override
 protected ... execXxxxxxx(...) throws ProcessingException{
   //specific logic here
 }

The scout framework call them when the event they represent occurs (value changed, form is validating, ...) These methods provide to the scout developer a way to add the business logic to the different elements: control that a value is in a specific range, disable an action if some conditions are not meet...

These execXxxxxxx(...) methods are not intended to be called directly, even if it is possible to call them inside the class (visibility is protected).

See Also

Back to the top