Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Scout/Concepts/Field
The Scout documentation has been moved to https://eclipsescout.github.io/.
Field are elements in The Scout documentation has been moved to https://eclipsescout.github.io/.
- implements: The Scout documentation has been moved to https://eclipsescout.github.io/.
- extends: The Scout documentation has been moved to https://eclipsescout.github.io/.
Contents
Type of fields
It is possible to distinguish different types of fields:
Value fields
These fiels contain a value. There are specific implementation depending on the The Scout documentation has been moved to https://eclipsescout.github.io/.:
Field | RAP | SWT | Swing | Swing Rayo |
---|---|---|---|---|
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | File:Scout 4.0 ProposalField RAP.png | File:Scout 4.0 ProposalField Swing.png | File:Scout 4.0 ProposalField Swing Rayo.png | |
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | only Swing available | only Swing available | ||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | This will be released soon as a scout swing fragment under epl. | |||
See also the main article on The Scout documentation has been moved to https://eclipsescout.github.io/. |
Composite fields
To group other fields
Field | RAP | SWT | Swing | Swing Rayo |
---|---|---|---|---|
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
See also the main article on The Scout documentation has been moved to https://eclipsescout.github.io/. |
Buttons
Button | RAP | SWT | Swing | Swing Rayo |
---|---|---|---|---|
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. |
Other fields
Field | RAP | SWT | Swing | Swing Rayo |
---|---|---|---|---|
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | only Swing available | only Swing available | ||
The Scout documentation has been moved to https://eclipsescout.github.io/. | Contains another form |
Contribution to unsaved changes
Each field controls if he contains modifications or not. This information is used by the form for its The Scout documentation has been moved to https://eclipsescout.github.io/. in particular to decide if a save action is required or not.
Each field defines if it contains unsaved modifications with the method isSaveNeeded(). The property is updated when checkSaveNeeded() is called on the field. The implementation of this method checks:
- the value of the m_touched flag.
- the value returned by execIsSaveNeeded() (The Scout documentation has been moved to https://eclipsescout.github.io/. event).
The m_touched flag can be modified with touch() (flag is set to true) and markSaved() (flag is set to false). Additionally when the flag is set to false the event The Scout documentation has been moved to https://eclipsescout.github.io/. is triggered. Depending on the type of field this event will: reset the initial value to the current value for value fields or propagate the call to all the children for a composite field.
The execIsSaveNeeded() method provides a way to add field-specific logic to tell if the field contains informations that require a save action (at form level) or not. The default implementation just compares the initial value with the current value. If they are not equals the method return true (to indicate that a save action is needed to save the content of this field).
Properties
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
Events
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.