Package com.iizigo.clientpref
Interface IClientPref
public interface IClientPref
Interface used to create the client preference page with its validation. Each entry requires an instance of this interface.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionApplies the settings.void
createContents
(Composite parent, PropCnr settings, ValidatorManager manager) Creates the contents.default String
Returns the heading text for a collapsable group.void
Assigns the defaults for the property.
Method Details
getHeading
Returns the heading text for a collapsable group.- Returns:
- null for normal contents, otherwise the group text.
createContents
Creates the contents. The parent has a GridLayout of 2 columns and the first column is used for the text prompt.- Parameters:
parent
- The parent composite.settings
- The property container.manager
- The validator manager.
setDefaults
void setDefaults()Assigns the defaults for the property.apply
Applies the settings.- Parameters:
settings
- The settings.- Returns:
- The error if this failed, or null for OK.