S
- settings typepublic interface ExternalSystemSettingsControl<S>
Modifier and Type | Method and Description |
---|---|
void |
apply(S settings)
Asks current control to fill given settings with the current user-defined values.
|
void |
disposeUIResources() |
void |
fillUi(PaintAwarePanel canvas,
int indentLevel)
Adds current control-specific UI controls to the given canvas.
|
default java.lang.String |
getHelpId() |
boolean |
isModified() |
void |
reset()
Asks current control to reset its state to the initial one.
|
default void |
reset(Project project)
Asks current control to reset its state to the initial one.
|
default void |
reset(WizardContext wizardContext)
Asks current control to reset its state to the initial one.
|
void |
showUi(boolean show)
Hides/shows
components added by the current control . |
boolean |
validate(S settings)
Asks current control to validate given settings with the current user-defined values.
|
void fillUi(PaintAwarePanel canvas, int indentLevel)
GridBagLayout
. That is the reason on why we use
this method instead of a method like 'JComponent getComponent()' - there is a possible case that given canvas has components
from more than one control and we might want them to be aligned.canvas
- container to use as a holder for UI components specific to the current controlindentLevel
- a hint on how much UI components added by the current control should be indentedvoid reset()
default void reset(Project project)
default void reset(WizardContext wizardContext)
boolean isModified()
true
if settings exposed by the current control have been modified; false
otherwisevoid apply(S settings)
settings
- settings holderboolean validate(S settings) throws ConfigurationException
settings
- settings holderConfigurationException
void disposeUIResources()
void showUi(boolean show)
components added by the current control
.show
- flag which indicates if current control' components should be visibledefault java.lang.String getHelpId()