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.
Scout/Concepts/Type of Data
|Download • Git
|Forums • Blog • Twitter • G+
Scout contains several implementation of fields and columns to cover the most common types of data that are used in business application. These implementations provide formatting and parsing mechanisms (taking care of the locale settings). In some cases a picker is also associated to the field to improve the user experience.
For the developer of a scout application, this also enables to manipulate the value of the field with the corresponding Java Object (no need to cast and to parse the text input).
Time is store in a Java Date Object (Between 1970-01-01 00:00:00.000 and 1970-01-01 23:59:59.999).
The DateUtility class provides method to convert this value to a double in the interval [0.0, 1.0[ or to combine the time represented in the Date with a Date without any time.
This is not a Java Data type. Smart is a scout concept to designate a smart association realized with CodeType or LookupCall. The Key of type T can be any Serializable java Object (
String, …). We speak from a Smart association, because there is more than just a text (display text) associated to the key (Icon, Color, TooltipText...)